Struct nostr_sdk::bitcoin::bip152::TxIndexOutOfRangeError
pub struct TxIndexOutOfRangeError(_);Expand description
A transaction index is requested that is out of range from the corresponding block.
Trait Implementations§
§impl Clone for TxIndexOutOfRangeError
impl Clone for TxIndexOutOfRangeError
§fn clone(&self) -> TxIndexOutOfRangeError
fn clone(&self) -> TxIndexOutOfRangeError
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 more§impl Debug for TxIndexOutOfRangeError
impl Debug for TxIndexOutOfRangeError
§impl Display for TxIndexOutOfRangeError
impl Display for TxIndexOutOfRangeError
§impl Error for TxIndexOutOfRangeError
impl Error for TxIndexOutOfRangeError
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()
§impl Hash for TxIndexOutOfRangeError
impl Hash for TxIndexOutOfRangeError
§impl Ord for TxIndexOutOfRangeError
impl Ord for TxIndexOutOfRangeError
§fn cmp(&self, other: &TxIndexOutOfRangeError) -> Ordering
fn cmp(&self, other: &TxIndexOutOfRangeError) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
§impl PartialEq<TxIndexOutOfRangeError> for TxIndexOutOfRangeError
impl PartialEq<TxIndexOutOfRangeError> for TxIndexOutOfRangeError
§fn eq(&self, other: &TxIndexOutOfRangeError) -> bool
fn eq(&self, other: &TxIndexOutOfRangeError) -> bool
This method tests for
self and other values to be equal, and is used
by ==.§impl PartialOrd<TxIndexOutOfRangeError> for TxIndexOutOfRangeError
impl PartialOrd<TxIndexOutOfRangeError> for TxIndexOutOfRangeError
§fn partial_cmp(&self, other: &TxIndexOutOfRangeError) -> Option<Ordering>
fn partial_cmp(&self, other: &TxIndexOutOfRangeError) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moreimpl Copy for TxIndexOutOfRangeError
impl Eq for TxIndexOutOfRangeError
impl StructuralEq for TxIndexOutOfRangeError
impl StructuralPartialEq for TxIndexOutOfRangeError
Auto Trait Implementations§
impl RefUnwindSafe for TxIndexOutOfRangeError
impl Send for TxIndexOutOfRangeError
impl Sync for TxIndexOutOfRangeError
impl Unpin for TxIndexOutOfRangeError
impl UnwindSafe for TxIndexOutOfRangeError
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<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.