pub enum IndexTreeError {
SameNodeErr,
}
Expand description
Use this for catching errors that can happen when using indextree_ng::Tree.
Variants§
SameNodeErr
Tried to apply a method to the same node like node.append(node, arena)
Trait Implementations§
Source§impl Clone for IndexTreeError
impl Clone for IndexTreeError
Source§fn clone(&self) -> IndexTreeError
fn clone(&self) -> IndexTreeError
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 IndexTreeError
impl Debug for IndexTreeError
Source§impl Display for IndexTreeError
impl Display for IndexTreeError
Source§impl Error for IndexTreeError
impl Error for IndexTreeError
Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
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
Source§impl PartialEq for IndexTreeError
impl PartialEq for IndexTreeError
impl Copy for IndexTreeError
impl Eq for IndexTreeError
impl StructuralPartialEq for IndexTreeError
Auto Trait Implementations§
impl Freeze for IndexTreeError
impl RefUnwindSafe for IndexTreeError
impl Send for IndexTreeError
impl Sync for IndexTreeError
impl Unpin for IndexTreeError
impl UnwindSafe for IndexTreeError
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