pub enum ExtendedPrivateKeyError {
Crate(&'static str, String),
DerivationPathError(DerivationPathError),
InvalidByteLength(usize),
InvalidChecksum(String, String),
InvalidVersionBytes(Vec<u8>),
MaximumChildDepthReached(u8),
Message(String),
NetworkError(NetworkError),
UnsupportedFormat(String),
}Variants§
Crate(&'static str, String)
DerivationPathError(DerivationPathError)
InvalidByteLength(usize)
InvalidChecksum(String, String)
InvalidVersionBytes(Vec<u8>)
MaximumChildDepthReached(u8)
Message(String)
NetworkError(NetworkError)
UnsupportedFormat(String)
Trait Implementations§
Source§impl Debug for ExtendedPrivateKeyError
impl Debug for ExtendedPrivateKeyError
Source§impl Display for ExtendedPrivateKeyError
impl Display for ExtendedPrivateKeyError
Source§impl Fail for ExtendedPrivateKeyError
impl Fail for ExtendedPrivateKeyError
Source§fn cause(&self) -> Option<&dyn Fail>
fn cause(&self) -> Option<&dyn Fail>
Returns a reference to the underlying cause of this failure, if it
is an error that wraps other errors. Read more
Source§fn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
Returns a reference to the
Backtrace carried by this failure, if it
carries one. Read moreSource§impl From<DerivationPathError> for ExtendedPrivateKeyError
impl From<DerivationPathError> for ExtendedPrivateKeyError
Source§fn from(error: DerivationPathError) -> Self
fn from(error: DerivationPathError) -> Self
Converts to this type from the input type.
Source§impl From<Error> for ExtendedPrivateKeyError
impl From<Error> for ExtendedPrivateKeyError
Source§impl From<Error> for ExtendedPrivateKeyError
impl From<Error> for ExtendedPrivateKeyError
Source§impl From<Error> for ExtendedPrivateKeyError
impl From<Error> for ExtendedPrivateKeyError
Source§impl From<ExtendedPrivateKeyError> for MnemonicError
impl From<ExtendedPrivateKeyError> for MnemonicError
Source§fn from(error: ExtendedPrivateKeyError) -> Self
fn from(error: ExtendedPrivateKeyError) -> Self
Converts to this type from the input type.
Source§impl From<ExtendedPrivateKeyError> for TransactionError
impl From<ExtendedPrivateKeyError> for TransactionError
Source§fn from(error: ExtendedPrivateKeyError) -> Self
fn from(error: ExtendedPrivateKeyError) -> Self
Converts to this type from the input type.
Source§impl From<FromBase58Error> for ExtendedPrivateKeyError
impl From<FromBase58Error> for ExtendedPrivateKeyError
Source§fn from(error: FromBase58Error) -> Self
fn from(error: FromBase58Error) -> Self
Converts to this type from the input type.
Source§impl From<InvalidKeyLength> for ExtendedPrivateKeyError
impl From<InvalidKeyLength> for ExtendedPrivateKeyError
Source§fn from(error: InvalidKeyLength) -> Self
fn from(error: InvalidKeyLength) -> Self
Converts to this type from the input type.
Source§impl From<NetworkError> for ExtendedPrivateKeyError
impl From<NetworkError> for ExtendedPrivateKeyError
Source§fn from(error: NetworkError) -> Self
fn from(error: NetworkError) -> Self
Converts to this type from the input type.
Source§impl From<ParseIntError> for ExtendedPrivateKeyError
impl From<ParseIntError> for ExtendedPrivateKeyError
Source§fn from(error: ParseIntError) -> Self
fn from(error: ParseIntError) -> Self
Converts to this type from the input type.
Source§impl From<TryFromSliceError> for ExtendedPrivateKeyError
impl From<TryFromSliceError> for ExtendedPrivateKeyError
Source§fn from(error: TryFromSliceError) -> Self
fn from(error: TryFromSliceError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ExtendedPrivateKeyError
impl RefUnwindSafe for ExtendedPrivateKeyError
impl Send for ExtendedPrivateKeyError
impl Sync for ExtendedPrivateKeyError
impl Unpin for ExtendedPrivateKeyError
impl UnsafeUnpin for ExtendedPrivateKeyError
impl UnwindSafe for ExtendedPrivateKeyError
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