pub enum AccountError {
Decoding(Error),
UnexpectedUserAccount,
NoAccountForId(Vec<u8>),
}Expand description
Errors encountered upon interacting with accounts.
Variants§
Trait Implementations§
Source§impl Clone for AccountError
impl Clone for AccountError
Source§fn clone(&self) -> AccountError
fn clone(&self) -> AccountError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AccountError
impl Debug for AccountError
Source§impl From<AccountError> for Error
impl From<AccountError> for Error
Source§fn from(value: AccountError) -> Self
fn from(value: AccountError) -> Self
Converts to this type from the input type.
Source§impl From<Error> for AccountError
impl From<Error> for AccountError
Source§impl PartialEq for AccountError
impl PartialEq for AccountError
impl Eq 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