pub enum AccountError {
DecodeError(String),
ParseHexError(String),
InvalidPublicKey(String),
EncodePEMError(String),
DecodePEMError(String),
}Variants§
DecodeError(String)
ParseHexError(String)
InvalidPublicKey(String)
EncodePEMError(String)
DecodePEMError(String)
Trait Implementations§
Source§impl Debug for AccountError
impl Debug for AccountError
Source§impl Display for AccountError
impl Display for AccountError
Source§impl Error for AccountError
impl Error for AccountError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns 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 PartialEq for AccountError
impl PartialEq for AccountError
impl StructuralPartialEq for AccountError
Auto Trait Implementations§
impl Freeze for AccountError
impl RefUnwindSafe for AccountError
impl Send for AccountError
impl Sync for AccountError
impl Unpin for AccountError
impl UnwindSafe for AccountError
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