Enum miden_objects::AccountError
source · pub enum AccountError {
Show 20 variants
AccountCodeAssemblerError(AssemblyError),
AccountCodeNoProcedures,
AccountCodeTooManyProcedures {
max: usize,
actual: usize,
},
AccountIdInvalidFieldElement(String),
AccountIdTooFewOnes(u32, u32),
AssetVaultUpdateError(AssetVaultError),
DuplicateStorageItems(MerkleError),
FungibleFaucetIdInvalidFirstBit,
FungibleFaucetInvalidMetadata(String),
HexParseError(String),
InvalidAccountStorageType,
MapsUpdateToNonMapsSlot(u8, StorageSlotType),
NonceNotMonotonicallyIncreasing {
current: u64,
new: u64,
},
SeedDigestTooFewTrailingZeros {
expected: u32,
actual: u32,
},
StorageSlotInvalidValueArity {
slot: u8,
expected: u8,
actual: u8,
},
StorageSlotIsReserved(u8),
StorageSlotMapOrArrayNotAllowed(u8, StorageSlotType),
StorageMapNotFound(u8),
StorageMapTooManyMaps {
expected: usize,
actual: usize,
},
StubDataIncorrectLength(usize, usize),
}Variants§
AccountCodeAssemblerError(AssemblyError)
AccountCodeNoProcedures
AccountCodeTooManyProcedures
AccountIdInvalidFieldElement(String)
AccountIdTooFewOnes(u32, u32)
AssetVaultUpdateError(AssetVaultError)
DuplicateStorageItems(MerkleError)
FungibleFaucetIdInvalidFirstBit
FungibleFaucetInvalidMetadata(String)
HexParseError(String)
InvalidAccountStorageType
MapsUpdateToNonMapsSlot(u8, StorageSlotType)
NonceNotMonotonicallyIncreasing
SeedDigestTooFewTrailingZeros
StorageSlotInvalidValueArity
StorageSlotIsReserved(u8)
StorageSlotMapOrArrayNotAllowed(u8, StorageSlotType)
StorageMapNotFound(u8)
StorageMapTooManyMaps
StubDataIncorrectLength(usize, usize)
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
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 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 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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)