pub struct ParentNotFound(/* private fields */);Expand description
Error returned by Tree::push_child when the specified parent id does
not exist in the tree.
Implementations§
Trait Implementations§
Source§impl Clone for ParentNotFound
impl Clone for ParentNotFound
Source§fn clone(&self) -> ParentNotFound
fn clone(&self) -> ParentNotFound
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 ParentNotFound
impl Debug for ParentNotFound
Source§impl Display for ParentNotFound
impl Display for ParentNotFound
Source§impl Error for ParentNotFound
impl Error for ParentNotFound
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 PartialEq for ParentNotFound
impl PartialEq for ParentNotFound
impl Copy for ParentNotFound
impl Eq for ParentNotFound
impl StructuralPartialEq for ParentNotFound
Auto Trait Implementations§
impl Freeze for ParentNotFound
impl RefUnwindSafe for ParentNotFound
impl Send for ParentNotFound
impl Sync for ParentNotFound
impl Unpin for ParentNotFound
impl UnsafeUnpin for ParentNotFound
impl UnwindSafe for ParentNotFound
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