pub enum FormatError {
Crate(&'static str, String),
DerivationPathError(DerivationPathError),
InvalidPrefix(Vec<u8>),
InvalidVersionBytes(Vec<u8>),
UnsupportedDerivationPath(String),
}Variants§
Crate(&'static str, String)
DerivationPathError(DerivationPathError)
InvalidPrefix(Vec<u8>)
InvalidVersionBytes(Vec<u8>)
UnsupportedDerivationPath(String)
Trait Implementations§
Source§impl Debug for FormatError
impl Debug for FormatError
Source§impl Display for FormatError
impl Display for FormatError
Source§impl Fail for FormatError
impl Fail for FormatError
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 FormatError
impl From<DerivationPathError> for FormatError
Source§fn from(error: DerivationPathError) -> Self
fn from(error: DerivationPathError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for FormatError
impl RefUnwindSafe for FormatError
impl Send for FormatError
impl Sync for FormatError
impl Unpin for FormatError
impl UnwindSafe for FormatError
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