pub enum NearMissScenario {
StaleTimestamp,
WrongSecret,
TamperedPayload,
}Expand description
Supported near-miss negative scenarios.
Variants§
StaleTimestamp
Header timestamp falls outside the acceptable window.
WrongSecret
Request signed with an alternate secret not used by verifier.
TamperedPayload
Payload differs from what was signed.
Trait Implementations§
Source§impl Clone for NearMissScenario
impl Clone for NearMissScenario
Source§fn clone(&self) -> NearMissScenario
fn clone(&self) -> NearMissScenario
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 NearMissScenario
impl Debug for NearMissScenario
Source§impl PartialEq for NearMissScenario
impl PartialEq for NearMissScenario
Source§fn eq(&self, other: &NearMissScenario) -> bool
fn eq(&self, other: &NearMissScenario) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for NearMissScenario
impl Eq for NearMissScenario
impl StructuralPartialEq for NearMissScenario
Auto Trait Implementations§
impl Freeze for NearMissScenario
impl RefUnwindSafe for NearMissScenario
impl Send for NearMissScenario
impl Sync for NearMissScenario
impl Unpin for NearMissScenario
impl UnsafeUnpin for NearMissScenario
impl UnwindSafe for NearMissScenario
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