pub enum TransactionsError {
InterfaceError(InterfaceError),
TransactionNotFound,
PrunedTransaction,
}Expand description
An error when fetching transactions.
Variants§
InterfaceError(InterfaceError)
Error with the interface.
TransactionNotFound
A transaction wasn’t found.
PrunedTransaction
A transaction expected to not be pruned was pruned.
Trait Implementations§
Source§impl Clone for TransactionsError
impl Clone for TransactionsError
Source§fn clone(&self) -> TransactionsError
fn clone(&self) -> TransactionsError
Returns a duplicate 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 TransactionsError
impl Debug for TransactionsError
Source§impl Display for TransactionsError
impl Display for TransactionsError
Source§impl Error for TransactionsError
impl Error for TransactionsError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns 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 From<InterfaceError> for TransactionsError
impl From<InterfaceError> for TransactionsError
Source§fn from(err: InterfaceError) -> Self
fn from(err: InterfaceError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for TransactionsError
impl PartialEq for TransactionsError
impl Eq for TransactionsError
impl StructuralPartialEq for TransactionsError
Auto Trait Implementations§
impl Freeze for TransactionsError
impl RefUnwindSafe for TransactionsError
impl Send for TransactionsError
impl Sync for TransactionsError
impl Unpin for TransactionsError
impl UnsafeUnpin for TransactionsError
impl UnwindSafe for TransactionsError
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