pub enum TxResolverError {
Unknown(Txid),
Other(Txid, String),
}
Variants§
Unknown(Txid)
transaction {0} is not mined
Other(Txid, String)
unable to retriev transaction {0}, {1}
Trait Implementations§
Source§impl Clone for TxResolverError
impl Clone for TxResolverError
Source§fn clone(&self) -> TxResolverError
fn clone(&self) -> TxResolverError
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 TxResolverError
impl Debug for TxResolverError
Source§impl Display for TxResolverError
impl Display for TxResolverError
Source§impl Error for TxResolverError
impl Error for TxResolverError
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()
Auto Trait Implementations§
impl Freeze for TxResolverError
impl RefUnwindSafe for TxResolverError
impl Send for TxResolverError
impl Sync for TxResolverError
impl Unpin for TxResolverError
impl UnwindSafe for TxResolverError
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