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§
Source§impl Clone for UnsplittableTree
impl Clone for UnsplittableTree
Source§fn clone(&self) -> UnsplittableTree
fn clone(&self) -> UnsplittableTree
Returns a duplicate 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 UnsplittableTree
impl Debug for UnsplittableTree
Source§impl Display for UnsplittableTree
impl Display for UnsplittableTree
Source§impl Error for UnsplittableTree
impl Error for UnsplittableTree
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<UnsplittableTree> for CutError
impl From<UnsplittableTree> for CutError
Source§fn from(v: UnsplittableTree) -> Self
fn from(v: UnsplittableTree) -> Self
Converts to this type from the input type.
Source§impl From<UnsplittableTree> for String
impl From<UnsplittableTree> for String
Source§fn from(err: UnsplittableTree) -> Self
fn from(err: UnsplittableTree) -> Self
Converts to this type from the input type.
Source§impl Hash for UnsplittableTree
impl Hash for UnsplittableTree
Source§impl Ord for UnsplittableTree
impl Ord for UnsplittableTree
Source§fn cmp(&self, other: &UnsplittableTree) -> Ordering
fn cmp(&self, other: &UnsplittableTree) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for UnsplittableTree
impl PartialEq for UnsplittableTree
Source§impl PartialOrd for UnsplittableTree
impl PartialOrd for UnsplittableTree
impl Eq for UnsplittableTree
impl StructuralPartialEq for UnsplittableTree
Auto Trait Implementations§
impl Freeze for UnsplittableTree
impl RefUnwindSafe for UnsplittableTree
impl Send for UnsplittableTree
impl Sync for UnsplittableTree
impl Unpin for UnsplittableTree
impl UnwindSafe for UnsplittableTree
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