pub enum AccountAddressParseError {
InvalidBase58Check(Error),
InvalidByteLength(usize),
}
Expand description
Error type for when parsing an account address.
Variants§
InvalidBase58Check(Error)
Failed parsing the Base58Check encoding.
InvalidByteLength(usize)
The decoded bytes are not of length 32.
Trait Implementations§
source§impl Debug for AccountAddressParseError
impl Debug for AccountAddressParseError
source§impl Display for AccountAddressParseError
impl Display for AccountAddressParseError
source§impl Error for AccountAddressParseError
impl Error for AccountAddressParseError
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<AccountAddressParseError> for AddressParseError
impl From<AccountAddressParseError> for AddressParseError
source§fn from(source: AccountAddressParseError) -> Self
fn from(source: AccountAddressParseError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for AccountAddressParseError
impl RefUnwindSafe for AccountAddressParseError
impl Send for AccountAddressParseError
impl Sync for AccountAddressParseError
impl Unpin for AccountAddressParseError
impl UnwindSafe for AccountAddressParseError
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