pub enum PrivateKeyError {
Crate(&'static str, String),
InvalidByteLength(usize),
InvalidCharacterLength(usize),
InvalidChecksum(String, String),
InvalidNetwork(String, String),
InvalidPrefix(Vec<u8>),
Message(String),
UnsupportedFormat,
}Variants§
Crate(&'static str, String)
InvalidByteLength(usize)
InvalidCharacterLength(usize)
InvalidChecksum(String, String)
InvalidNetwork(String, String)
InvalidPrefix(Vec<u8>)
Message(String)
UnsupportedFormat
Trait Implementations§
Source§impl Debug for PrivateKeyError
impl Debug for PrivateKeyError
Source§impl Display for PrivateKeyError
impl Display for PrivateKeyError
Source§impl Fail for PrivateKeyError
impl Fail for PrivateKeyError
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<&'static str> for PrivateKeyError
impl From<&'static str> for PrivateKeyError
Source§impl From<Error> for PrivateKeyError
impl From<Error> for PrivateKeyError
Source§impl From<Error> for PrivateKeyError
impl From<Error> for PrivateKeyError
Source§impl From<Error> for PrivateKeyError
impl From<Error> for PrivateKeyError
Source§impl From<Error> for PrivateKeyError
impl From<Error> for PrivateKeyError
Source§impl From<FromBase58Error> for PrivateKeyError
impl From<FromBase58Error> for PrivateKeyError
Source§fn from(error: FromBase58Error) -> Self
fn from(error: FromBase58Error) -> Self
Converts to this type from the input type.
Source§impl From<FromHexError> for PrivateKeyError
impl From<FromHexError> for PrivateKeyError
Source§fn from(error: FromHexError) -> Self
fn from(error: FromHexError) -> Self
Converts to this type from the input type.
Source§impl From<PrivateKeyError> for AddressError
impl From<PrivateKeyError> for AddressError
Source§fn from(error: PrivateKeyError) -> Self
fn from(error: PrivateKeyError) -> Self
Converts to this type from the input type.
Source§impl From<PrivateKeyError> for MnemonicError
impl From<PrivateKeyError> for MnemonicError
Source§fn from(error: PrivateKeyError) -> Self
fn from(error: PrivateKeyError) -> Self
Converts to this type from the input type.
Source§impl From<PrivateKeyError> for TransactionError
impl From<PrivateKeyError> for TransactionError
Source§fn from(error: PrivateKeyError) -> Self
fn from(error: PrivateKeyError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for PrivateKeyError
impl RefUnwindSafe for PrivateKeyError
impl Send for PrivateKeyError
impl Sync for PrivateKeyError
impl Unpin for PrivateKeyError
impl UnsafeUnpin for PrivateKeyError
impl UnwindSafe for PrivateKeyError
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