pub struct RaiseAboveRoot;Expand description
Error indicating an attempt to raise subtree above its depth (i.e. root).
Trait Implementations§
Source§impl Clone for RaiseAboveRoot
impl Clone for RaiseAboveRoot
Source§fn clone(&self) -> RaiseAboveRoot
fn clone(&self) -> RaiseAboveRoot
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 RaiseAboveRoot
impl Debug for RaiseAboveRoot
Source§impl Display for RaiseAboveRoot
impl Display for RaiseAboveRoot
Source§impl Error for RaiseAboveRoot
impl Error for RaiseAboveRoot
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<RaiseAboveRoot> for String
impl From<RaiseAboveRoot> for String
Source§fn from(err: RaiseAboveRoot) -> Self
fn from(err: RaiseAboveRoot) -> Self
Converts to this type from the input type.
Source§impl Hash for RaiseAboveRoot
impl Hash for RaiseAboveRoot
Source§impl Ord for RaiseAboveRoot
impl Ord for RaiseAboveRoot
Source§fn cmp(&self, other: &RaiseAboveRoot) -> Ordering
fn cmp(&self, other: &RaiseAboveRoot) -> Ordering
1.21.0 (const: unstable) · 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 RaiseAboveRoot
impl PartialEq for RaiseAboveRoot
Source§fn eq(&self, other: &RaiseAboveRoot) -> bool
fn eq(&self, other: &RaiseAboveRoot) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for RaiseAboveRoot
impl PartialOrd for RaiseAboveRoot
impl Eq for RaiseAboveRoot
impl StructuralPartialEq for RaiseAboveRoot
Auto Trait Implementations§
impl Freeze for RaiseAboveRoot
impl RefUnwindSafe for RaiseAboveRoot
impl Send for RaiseAboveRoot
impl Sync for RaiseAboveRoot
impl Unpin for RaiseAboveRoot
impl UnsafeUnpin for RaiseAboveRoot
impl UnwindSafe for RaiseAboveRoot
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