pub enum SessionErrorKind {
NotFound(String),
InvalidState {
session: String,
current: String,
expected: String,
},
ThresholdNotMet {
have: usize,
need: u32,
},
DuplicateSubmission {
signer: String,
},
Expired(String),
SigningFailed(String),
}Variants§
NotFound(String)
InvalidState
ThresholdNotMet
DuplicateSubmission
Expired(String)
SigningFailed(String)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SessionErrorKind
impl RefUnwindSafe for SessionErrorKind
impl Send for SessionErrorKind
impl Sync for SessionErrorKind
impl Unpin for SessionErrorKind
impl UnsafeUnpin for SessionErrorKind
impl UnwindSafe for SessionErrorKind
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