Enum primitives::account::AccountError
source · pub enum AccountError {
ReservedAddressSpace(Address),
AddressSpaceMismatch(Address, AddressSpace),
InvalidRlp(DecoderError),
}
Variants§
Trait Implementations§
source§impl Clone for AccountError
impl Clone for AccountError
source§fn clone(&self) -> AccountError
fn clone(&self) -> AccountError
Returns a copy 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 Display for AccountError
impl Display for AccountError
source§impl Error for AccountError
impl Error for AccountError
source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
1.30.0 · 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
source§impl From<DecoderError> for AccountError
impl From<DecoderError> for AccountError
source§impl PartialEq for AccountError
impl PartialEq for AccountError
source§fn eq(&self, other: &AccountError) -> bool
fn eq(&self, other: &AccountError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.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