Enum kaspa_bip32::types::Error
source · pub enum Error {
Show 17 variants
String(String),
Base58Encode(Error),
Base58Decode(Error),
Bip39,
Hmac(InvalidLength),
ChildNumber,
Crypto(Error),
Decode(TryFromSliceError),
DecodeLength(usize, usize),
DecodeIssue,
Depth,
SeedLength,
ScalarOutOfRangeError(OutOfRangeError),
Utf8Error(Utf8Error),
PoisonError(String),
WorkflowWasm(Error),
WordCount(usize),
}
Expand description
Error type.
Variants§
String(String)
Base58Encode(Error)
Base58 errors.
Base58Decode(Error)
Base58 errors.
Bip39
BIP39-related errors.
Hmac(InvalidLength)
Hmac-related errors.
ChildNumber
Child number-related errors.
Crypto(Error)
Cryptographic errors.
Decode(TryFromSliceError)
Decoding errors (not related to Base58).
DecodeLength(usize, usize)
Decoding errors (not related to Base58).
DecodeIssue
Decoding errors (not related to Base58).
Depth
Maximum derivation depth exceeded.
SeedLength
Seed length invalid.
ScalarOutOfRangeError(OutOfRangeError)
Scalar OutOfRangeError
Utf8Error(Utf8Error)
Utf8Error
PoisonError(String)
WorkflowWasm(Error)
WordCount(usize)
Trait Implementations§
source§impl Error for Error
impl Error for Error
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 From<OutOfRangeError> for Error
impl From<OutOfRangeError> for Error
source§fn from(source: OutOfRangeError) -> Self
fn from(source: OutOfRangeError) -> Self
Converts to this type from the input type.
source§impl<T> From<PoisonError<T>> for Error
impl<T> From<PoisonError<T>> for Error
source§fn from(err: PoisonError<T>) -> Self
fn from(err: PoisonError<T>) -> Self
Converts to this type from the input type.
source§impl From<TryFromSliceError> for Error
impl From<TryFromSliceError> for Error
source§fn from(source: TryFromSliceError) -> Self
fn from(source: TryFromSliceError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl UnwindSafe for Error
Blanket Implementations§
§impl<T> AnySync for T
impl<T> AnySync for T
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