Enum miden_client::transactions::DataStoreError
source · pub enum DataStoreError {
AccountNotFound(AccountId),
BlockNotFound(u32),
InvalidTransactionInput(TransactionInputError),
InternalError(String),
NoteAlreadyConsumed(NoteId),
NoteNotFound(NoteId),
}Variants§
AccountNotFound(AccountId)
BlockNotFound(u32)
InvalidTransactionInput(TransactionInputError)
InternalError(String)
NoteAlreadyConsumed(NoteId)
NoteNotFound(NoteId)
Trait Implementations§
source§impl Clone for DataStoreError
impl Clone for DataStoreError
source§fn clone(&self) -> DataStoreError
fn clone(&self) -> DataStoreError
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 DataStoreError
impl Debug for DataStoreError
source§impl Display for DataStoreError
impl Display for DataStoreError
source§impl From<StoreError> for DataStoreError
impl From<StoreError> for DataStoreError
source§fn from(value: StoreError) -> Self
fn from(value: StoreError) -> Self
Converts to this type from the input type.
source§impl PartialEq for DataStoreError
impl PartialEq for DataStoreError
source§fn eq(&self, other: &DataStoreError) -> bool
fn eq(&self, other: &DataStoreError) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for DataStoreError
impl StructuralPartialEq for DataStoreError
Auto Trait Implementations§
impl Freeze for DataStoreError
impl RefUnwindSafe for DataStoreError
impl Send for DataStoreError
impl Sync for DataStoreError
impl Unpin for DataStoreError
impl UnwindSafe for DataStoreError
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)