Enum wildland_crypto::error::CryptoError
source · #[repr(C)]pub enum CryptoError {
KeyParsingError(usize),
MessageVerificationError(String),
InvalidSignatureBytesError(String),
MnemonicGenerationError(String),
IdentityGenerationError(String),
EntropyTooLow,
DecryptionError,
}
Variants§
KeyParsingError(usize)
MessageVerificationError(String)
InvalidSignatureBytesError(String)
MnemonicGenerationError(String)
IdentityGenerationError(String)
EntropyTooLow
DecryptionError
Trait Implementations§
source§impl Clone for CryptoError
impl Clone for CryptoError
source§fn clone(&self) -> CryptoError
fn clone(&self) -> CryptoError
Returns a copy of the value. Read more
1.0.0 · 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 CryptoError
impl Debug for CryptoError
source§impl Display for CryptoError
impl Display for CryptoError
source§impl Error for CryptoError
impl Error for CryptoError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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 PartialEq<CryptoError> for CryptoError
impl PartialEq<CryptoError> for CryptoError
source§fn eq(&self, other: &CryptoError) -> bool
fn eq(&self, other: &CryptoError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for CryptoError
impl StructuralEq for CryptoError
impl StructuralPartialEq for CryptoError
Auto Trait Implementations§
impl RefUnwindSafe for CryptoError
impl Send for CryptoError
impl Sync for CryptoError
impl Unpin for CryptoError
impl UnwindSafe for CryptoError
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