pub enum SecurityError {
InvalidKey,
ExceededAttempts,
DelayNotExpired,
}Expand description
Errors the server state machine may produce during SecurityAccess handling.
Variants§
InvalidKey
The supplied key does not match the generated seed.
ExceededAttempts
Max failed attempts reached - lockout now active.
DelayNotExpired
Lockout imte has not yet expired.
Trait Implementations§
Source§impl Clone for SecurityError
impl Clone for SecurityError
Source§fn clone(&self) -> SecurityError
fn clone(&self) -> SecurityError
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 SecurityError
impl Debug for SecurityError
impl Eq for SecurityError
Source§impl PartialEq for SecurityError
impl PartialEq for SecurityError
Source§fn eq(&self, other: &SecurityError) -> bool
fn eq(&self, other: &SecurityError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SecurityError
Auto Trait Implementations§
impl Freeze for SecurityError
impl RefUnwindSafe for SecurityError
impl Send for SecurityError
impl Sync for SecurityError
impl Unpin for SecurityError
impl UnsafeUnpin for SecurityError
impl UnwindSafe for SecurityError
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