pub enum InvalidationKind {
StaleTtl,
SignatureMismatch,
DomainMismatch,
SignatureMissing,
}Expand description
Machine-readable reason tag attached to InvalidationReason.
Variants§
StaleTtl
Elapsed since capture exceeded max-age.
SignatureMismatch
Signature hash did not match.
DomainMismatch
Target domain did not match the contract’s domain.
SignatureMissing
Contract had no signature but policy requires one.
Implementations§
Trait Implementations§
Source§impl Clone for InvalidationKind
impl Clone for InvalidationKind
Source§fn clone(&self) -> InvalidationKind
fn clone(&self) -> InvalidationKind
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for InvalidationKind
impl Debug for InvalidationKind
Source§impl<'de> Deserialize<'de> for InvalidationKind
impl<'de> Deserialize<'de> for InvalidationKind
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for InvalidationKind
impl Display for InvalidationKind
Source§impl Hash for InvalidationKind
impl Hash for InvalidationKind
Source§impl PartialEq for InvalidationKind
impl PartialEq for InvalidationKind
Source§impl Serialize for InvalidationKind
impl Serialize for InvalidationKind
impl Copy for InvalidationKind
impl Eq for InvalidationKind
impl StructuralPartialEq for InvalidationKind
Auto Trait Implementations§
impl Freeze for InvalidationKind
impl RefUnwindSafe for InvalidationKind
impl Send for InvalidationKind
impl Sync for InvalidationKind
impl Unpin for InvalidationKind
impl UnsafeUnpin for InvalidationKind
impl UnwindSafe for InvalidationKind
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.