Enum bpstd::InvalidTree 
source · 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)>
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) -> Self
 
fn from(v: FinalizedTree) -> Self
Converts to this type from the input type.
source§impl From<InvalidTree> for String
 
impl From<InvalidTree> for String
source§fn from(err: InvalidTree) -> Self
 
fn from(err: InvalidTree) -> Self
Converts to this type from the input type.
source§impl From<UnfinalizedTree> for InvalidTree
 
impl From<UnfinalizedTree> for InvalidTree
source§fn from(v: UnfinalizedTree) -> Self
 
fn from(v: UnfinalizedTree) -> Self
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
source§fn eq(&self, other: &InvalidTree) -> bool
 
fn eq(&self, other: &InvalidTree) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.impl Copy for InvalidTree
impl Eq for InvalidTree
impl StructuralEq for InvalidTree
impl StructuralPartialEq for InvalidTree
Auto Trait Implementations§
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
§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,
§fn equivalent(&self, key: &K) -> bool
 
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§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,
§fn equivalent(&self, key: &K) -> bool
 
fn equivalent(&self, key: &K) -> bool
Compare self to 
key and return true if they are equal.