pub enum TransactionInputError {
AccountSeedNotProvidedForNewAccount,
AccountSeedProvidedForExistingAccount,
DuplicateInputNote(Digest),
InconsistentChainLength {
expected: u32,
actual: u32,
},
InconsistentChainRoot {
expected: Digest,
actual: Digest,
},
InputNoteBlockNotInChainMmr(NoteId),
InputNoteNotInBlock(NoteId, u32),
InvalidAccountSeed(AccountError),
TooManyInputNotes {
max: usize,
actual: usize,
},
}Variants§
AccountSeedNotProvidedForNewAccount
AccountSeedProvidedForExistingAccount
DuplicateInputNote(Digest)
InconsistentChainLength
InconsistentChainRoot
InputNoteBlockNotInChainMmr(NoteId)
InputNoteNotInBlock(NoteId, u32)
InvalidAccountSeed(AccountError)
TooManyInputNotes
Trait Implementations§
source§impl Clone for TransactionInputError
impl Clone for TransactionInputError
source§fn clone(&self) -> TransactionInputError
fn clone(&self) -> TransactionInputError
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 TransactionInputError
impl Debug for TransactionInputError
source§impl Display for TransactionInputError
impl Display for TransactionInputError
source§impl Error for TransactionInputError
impl Error for TransactionInputError
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 TransactionInputError
impl PartialEq for TransactionInputError
source§fn eq(&self, other: &TransactionInputError) -> bool
fn eq(&self, other: &TransactionInputError) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for TransactionInputError
Auto Trait Implementations§
impl RefUnwindSafe for TransactionInputError
impl Send for TransactionInputError
impl Sync for TransactionInputError
impl Unpin for TransactionInputError
impl UnwindSafe for TransactionInputError
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