pub enum InvalidTree {
    Unfinalized(UnfinalizedTree),
    MountainRange,
}Variants§
Unfinalized(UnfinalizedTree)
MountainRange
Trait Implementations§
Source§impl Clone for InvalidTree
 
impl Clone for InvalidTree
Source§fn clone(&self) -> InvalidTree
 
fn clone(&self) -> InvalidTree
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 moreSource§impl Debug for InvalidTree
 
impl Debug for InvalidTree
Source§impl Display for InvalidTree
 
impl Display for InvalidTree
Source§impl Error for InvalidTree
 
impl Error for InvalidTree
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
 
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns 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()
Source§impl From<FinalizedTree> for InvalidTree
 
impl From<FinalizedTree> for InvalidTree
Source§fn from(v: FinalizedTree) -> InvalidTree
 
fn from(v: FinalizedTree) -> InvalidTree
Converts to this type from the input type.
Source§impl From<InvalidTree> for PsbtError
 
impl From<InvalidTree> for PsbtError
Source§fn from(v: InvalidTree) -> PsbtError
 
fn from(v: InvalidTree) -> PsbtError
Converts to this type from the input type.
Source§impl From<UnfinalizedTree> for InvalidTree
 
impl From<UnfinalizedTree> for InvalidTree
Source§fn from(v: UnfinalizedTree) -> InvalidTree
 
fn from(v: UnfinalizedTree) -> InvalidTree
Converts to this type from the input type.
Source§impl Hash for InvalidTree
 
impl Hash for InvalidTree
Source§impl PartialEq for InvalidTree
 
impl PartialEq for InvalidTree
impl Copy for InvalidTree
impl Eq for InvalidTree
impl StructuralPartialEq for InvalidTree
Auto Trait Implementations§
impl Freeze for InvalidTree
impl RefUnwindSafe for InvalidTree
impl Send for InvalidTree
impl Sync for InvalidTree
impl Unpin for InvalidTree
impl UnwindSafe for InvalidTree
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<T> CloneToUninit for Twhere
    T: Clone,
 
impl<T> CloneToUninit for Twhere
    T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
 
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
 
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
 
fn equivalent(&self, key: &K) -> bool
Compare self to 
key and return true if they are equal.