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