Struct bdk_chain::bitcoin::blockdata::transaction::OutputsIndexError
pub struct OutputsIndexError(pub IndexOutOfBoundsError);
Expand description
Error attempting to do an out of bounds access on the transaction outputs vector.
Tuple Fields§
§0: IndexOutOfBoundsError
Trait Implementations§
§impl Clone for OutputsIndexError
impl Clone for OutputsIndexError
§fn clone(&self) -> OutputsIndexError
fn clone(&self) -> OutputsIndexError
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 OutputsIndexError
impl Debug for OutputsIndexError
§impl Display for OutputsIndexError
impl Display for OutputsIndexError
§impl Error for OutputsIndexError
impl Error for OutputsIndexError
§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 From<IndexOutOfBoundsError> for OutputsIndexError
impl From<IndexOutOfBoundsError> for OutputsIndexError
§fn from(e: IndexOutOfBoundsError) -> OutputsIndexError
fn from(e: IndexOutOfBoundsError) -> OutputsIndexError
Converts to this type from the input type.
§impl PartialEq for OutputsIndexError
impl PartialEq for OutputsIndexError
§fn eq(&self, other: &OutputsIndexError) -> bool
fn eq(&self, other: &OutputsIndexError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for OutputsIndexError
impl StructuralPartialEq for OutputsIndexError
Auto Trait Implementations§
impl Freeze for OutputsIndexError
impl RefUnwindSafe for OutputsIndexError
impl Send for OutputsIndexError
impl Sync for OutputsIndexError
impl Unpin for OutputsIndexError
impl UnwindSafe for OutputsIndexError
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more