Struct bitcoin_scripts::taproot::IncompleteTreeError
source · [−]Expand description
Error happening when taproot script tree is not complete at certain node.
Trait Implementations
sourceimpl<N: Clone> Clone for IncompleteTreeError<N> where
N: Node + Debug,
impl<N: Clone> Clone for IncompleteTreeError<N> where
N: Node + Debug,
sourcefn clone(&self) -> IncompleteTreeError<N>
fn clone(&self) -> IncompleteTreeError<N>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl<N> Display for IncompleteTreeError<N> where
N: Node + Debug,
impl<N> Display for IncompleteTreeError<N> where
N: Node + Debug,
sourceimpl<N> Error for IncompleteTreeError<N> where
N: Node + Debug,
impl<N> Error for IncompleteTreeError<N> where
N: Node + Debug,
1.30.0 · sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
sourcefn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
backtrace
)Returns a stack backtrace, if available, of where this error occurred. Read more
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()
sourceimpl<N> From<IncompleteTreeError<N>> for String where
N: Node + Debug,
impl<N> From<IncompleteTreeError<N>> for String where
N: Node + Debug,
sourcefn from(err: IncompleteTreeError<N>) -> Self
fn from(err: IncompleteTreeError<N>) -> Self
Converts to this type from the input type.
sourceimpl<N: Ord> Ord for IncompleteTreeError<N> where
N: Node + Debug,
impl<N: Ord> Ord for IncompleteTreeError<N> where
N: Node + Debug,
sourceimpl<N: PartialEq> PartialEq<IncompleteTreeError<N>> for IncompleteTreeError<N> where
N: Node + Debug,
impl<N: PartialEq> PartialEq<IncompleteTreeError<N>> for IncompleteTreeError<N> where
N: Node + Debug,
sourcefn eq(&self, other: &IncompleteTreeError<N>) -> bool
fn eq(&self, other: &IncompleteTreeError<N>) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &IncompleteTreeError<N>) -> bool
fn ne(&self, other: &IncompleteTreeError<N>) -> bool
This method tests for !=
.
sourceimpl<N: PartialOrd> PartialOrd<IncompleteTreeError<N>> for IncompleteTreeError<N> where
N: Node + Debug,
impl<N: PartialOrd> PartialOrd<IncompleteTreeError<N>> for IncompleteTreeError<N> where
N: Node + Debug,
sourcefn partial_cmp(&self, other: &IncompleteTreeError<N>) -> Option<Ordering>
fn partial_cmp(&self, other: &IncompleteTreeError<N>) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn 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 more
impl<N: Eq> Eq for IncompleteTreeError<N> where
N: Node + Debug,
impl<N> StructuralEq for IncompleteTreeError<N> where
N: Node + Debug,
impl<N> StructuralPartialEq for IncompleteTreeError<N> where
N: Node + Debug,
Auto Trait Implementations
impl<N> RefUnwindSafe for IncompleteTreeError<N> where
N: RefUnwindSafe,
impl<N> Send for IncompleteTreeError<N> where
N: Send,
impl<N> Sync for IncompleteTreeError<N> where
N: Sync,
impl<N> Unpin for IncompleteTreeError<N> where
N: Unpin,
impl<N> UnwindSafe for IncompleteTreeError<N> where
N: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more