Enum miden_objects::AccountDeltaError
source · pub enum AccountDeltaError {
DuplicateStorageItemUpdate(usize),
DuplicateVaultUpdate(Asset),
InconsistentNonceUpdate(String),
ImmutableStorageSlot(usize),
TooManyAddedAsset {
actual: usize,
max: usize,
},
TooManyClearedStorageItems {
actual: usize,
max: usize,
},
TooManyRemovedAssets {
actual: usize,
max: usize,
},
TooManyUpdatedStorageItems {
actual: usize,
max: usize,
},
}Variants§
DuplicateStorageItemUpdate(usize)
DuplicateVaultUpdate(Asset)
InconsistentNonceUpdate(String)
ImmutableStorageSlot(usize)
TooManyAddedAsset
TooManyClearedStorageItems
TooManyRemovedAssets
TooManyUpdatedStorageItems
Trait Implementations§
source§impl Clone for AccountDeltaError
impl Clone for AccountDeltaError
source§fn clone(&self) -> AccountDeltaError
fn clone(&self) -> AccountDeltaError
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 AccountDeltaError
impl Debug for AccountDeltaError
source§impl Display for AccountDeltaError
impl Display for AccountDeltaError
source§impl Error for AccountDeltaError
impl Error for AccountDeltaError
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
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 AccountDeltaError
impl PartialEq for AccountDeltaError
source§fn eq(&self, other: &AccountDeltaError) -> bool
fn eq(&self, other: &AccountDeltaError) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for AccountDeltaError
impl StructuralPartialEq for AccountDeltaError
Auto Trait Implementations§
impl RefUnwindSafe for AccountDeltaError
impl Send for AccountDeltaError
impl Sync for AccountDeltaError
impl Unpin for AccountDeltaError
impl UnwindSafe for AccountDeltaError
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