pub enum Error {
Signer(SignerError),
Verifier(VerifierError),
KeyGen(ErrorStack),
NoPreviousBlock,
PublicConversion(ErrorStack),
GenesisIsNotKey,
}Expand description
Error variants, describing possible errors which may occur within this crate
Variantsยง
Signer(SignerError)
Verifier(VerifierError)
KeyGen(ErrorStack)
NoPreviousBlock
PublicConversion(ErrorStack)
GenesisIsNotKey
Trait Implementationsยง
Sourceยงimpl From<SignerError> for Error
impl From<SignerError> for Error
Sourceยงfn from(err: SignerError) -> Self
fn from(err: SignerError) -> Self
Converts to this type from the input type.
Sourceยงimpl From<VerifierError> for Error
impl From<VerifierError> for Error
Sourceยงfn from(err: VerifierError) -> Self
fn from(err: VerifierError) -> Self
Converts to this type from the input type.
Auto Trait Implementationsยง
impl Freeze for Error
impl RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl UnsafeUnpin for Error
impl UnwindSafe for Error
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