pub enum LamportError {
IoError(Error),
VsssError(Error),
PrivateKeyReuseError,
InvalidPrivateKeyBytes,
InvalidSignatureBytes,
General(String),
}
Expand description
Errors in lamport signing scheme.
Variants§
IoError(Error)
I/O error.
VsssError(Error)
Vsss error.
PrivateKeyReuseError
Private key was reused.
InvalidPrivateKeyBytes
Invalid private key bytes.
InvalidSignatureBytes
Invalid signature bytes.
General(String)
General Purpose errors
Trait Implementations§
Source§impl Debug for LamportError
impl Debug for LamportError
Source§impl Display for LamportError
impl Display for LamportError
Source§impl Error for LamportError
impl Error for LamportError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl From<&Error> for LamportError
impl From<&Error> for LamportError
Source§impl From<Error> for LamportError
impl From<Error> for LamportError
Auto Trait Implementations§
impl Freeze for LamportError
impl !RefUnwindSafe for LamportError
impl Send for LamportError
impl Sync for LamportError
impl Unpin for LamportError
impl !UnwindSafe for LamportError
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