pub struct ParentError(/* private fields */);Expand description
The error returned when BasePath::parent cannot remove the path’s last
component.
Trait Implementations§
Source§impl Clone for ParentError
impl Clone for ParentError
Source§fn clone(&self) -> ParentError
fn clone(&self) -> ParentError
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 ParentError
impl Debug for ParentError
Source§impl Display for ParentError
impl Display for ParentError
Source§impl Error for ParentError
impl Error for ParentError
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 ParentError
impl PartialEq for ParentError
impl StructuralPartialEq for ParentError
Auto Trait Implementations§
impl Freeze for ParentError
impl RefUnwindSafe for ParentError
impl Send for ParentError
impl Sync for ParentError
impl Unpin for ParentError
impl UnwindSafe for ParentError
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