pub enum ReplayDefenseInvalidationKind {
RotationDue,
NonceExpired,
NonceRotated,
DomainMismatch,
SignatureDrift,
}Expand description
Machine-readable reason tag attached to ReplayDefenseReason.
Variants§
RotationDue
Elapsed since capture exceeded the rotation interval.
NonceExpired
Nonce age exceeded the nonce validity window.
NonceRotated
Nonce was rotated by the server (state nonce != observed nonce).
DomainMismatch
Observed domain did not match the state’s domain.
SignatureDrift
Signature hash did not match the state’s bound signature.
Implementations§
Trait Implementations§
Source§impl Clone for ReplayDefenseInvalidationKind
impl Clone for ReplayDefenseInvalidationKind
Source§fn clone(&self) -> ReplayDefenseInvalidationKind
fn clone(&self) -> ReplayDefenseInvalidationKind
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<'de> Deserialize<'de> for ReplayDefenseInvalidationKind
impl<'de> Deserialize<'de> for ReplayDefenseInvalidationKind
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 Hash for ReplayDefenseInvalidationKind
impl Hash for ReplayDefenseInvalidationKind
Source§impl PartialEq for ReplayDefenseInvalidationKind
impl PartialEq for ReplayDefenseInvalidationKind
Source§fn eq(&self, other: &ReplayDefenseInvalidationKind) -> bool
fn eq(&self, other: &ReplayDefenseInvalidationKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for ReplayDefenseInvalidationKind
impl Eq for ReplayDefenseInvalidationKind
impl StructuralPartialEq for ReplayDefenseInvalidationKind
Auto Trait Implementations§
impl Freeze for ReplayDefenseInvalidationKind
impl RefUnwindSafe for ReplayDefenseInvalidationKind
impl Send for ReplayDefenseInvalidationKind
impl Sync for ReplayDefenseInvalidationKind
impl Unpin for ReplayDefenseInvalidationKind
impl UnsafeUnpin for ReplayDefenseInvalidationKind
impl UnwindSafe for ReplayDefenseInvalidationKind
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.