Enum sapio_base::txindex::TxIndexError
source · pub enum TxIndexError {
NetworkError(Error),
UnknownTxid(Txid),
IndexTooHigh(u32),
RpcError(Box<dyn Error>),
}
Expand description
Errors in resolving a TXIndex
Variants§
NetworkError(Error)
Network Error
UnknownTxid(Txid)
TXID Could not be resolved
IndexTooHigh(u32)
TXID exists, but the vout index was too high
RpcError(Box<dyn Error>)
Error in the Rpc System
Trait Implementations§
source§impl Debug for TxIndexError
impl Debug for TxIndexError
source§impl Display for TxIndexError
impl Display for TxIndexError
source§impl Error for TxIndexError
impl Error for TxIndexError
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()
Auto Trait Implementations§
impl !RefUnwindSafe for TxIndexError
impl !Send for TxIndexError
impl !Sync for TxIndexError
impl Unpin for TxIndexError
impl !UnwindSafe for TxIndexError
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