Struct bitcoin_scripts::taproot::UnsplittableTree
source · [−]pub struct UnsplittableTree;
Expand description
Error indicating that the tree contains just a single known root node and can’t be split into two parts.
Trait Implementations
sourceimpl Clone for UnsplittableTree
impl Clone for UnsplittableTree
sourcefn clone(&self) -> UnsplittableTree
fn clone(&self) -> UnsplittableTree
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 Debug for UnsplittableTree
impl Debug for UnsplittableTree
sourceimpl Display for UnsplittableTree
impl Display for UnsplittableTree
sourceimpl Error for UnsplittableTree
impl Error for UnsplittableTree
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 From<UnsplittableTree> for String
impl From<UnsplittableTree> for String
sourcefn from(err: UnsplittableTree) -> Self
fn from(err: UnsplittableTree) -> Self
Converts to this type from the input type.
sourceimpl From<UnsplittableTree> for CutError
impl From<UnsplittableTree> for CutError
sourcefn from(v: UnsplittableTree) -> Self
fn from(v: UnsplittableTree) -> Self
Converts to this type from the input type.
sourceimpl Hash for UnsplittableTree
impl Hash for UnsplittableTree
sourceimpl Ord for UnsplittableTree
impl Ord for UnsplittableTree
sourceimpl PartialEq<UnsplittableTree> for UnsplittableTree
impl PartialEq<UnsplittableTree> for UnsplittableTree
sourceimpl PartialOrd<UnsplittableTree> for UnsplittableTree
impl PartialOrd<UnsplittableTree> for UnsplittableTree
sourcefn partial_cmp(&self, other: &UnsplittableTree) -> Option<Ordering>
fn partial_cmp(&self, other: &UnsplittableTree) -> 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 Eq for UnsplittableTree
impl StructuralEq for UnsplittableTree
impl StructuralPartialEq for UnsplittableTree
Auto Trait Implementations
impl RefUnwindSafe for UnsplittableTree
impl Send for UnsplittableTree
impl Sync for UnsplittableTree
impl Unpin for UnsplittableTree
impl UnwindSafe for UnsplittableTree
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