pub struct RelativeToError { /* private fields */ }
Expand description
An error raised when attempting to convert a path using
PathExt::relative_to
.
Trait Implementations§
Source§impl Clone for RelativeToError
impl Clone for RelativeToError
Source§fn clone(&self) -> RelativeToError
fn clone(&self) -> RelativeToError
Returns a copy 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 RelativeToError
impl Debug for RelativeToError
Source§impl Display for RelativeToError
impl Display for RelativeToError
Source§impl Error for RelativeToError
impl Error for RelativeToError
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 RelativeToError
impl PartialEq for RelativeToError
impl Eq for RelativeToError
impl StructuralPartialEq for RelativeToError
Auto Trait Implementations§
impl Freeze for RelativeToError
impl RefUnwindSafe for RelativeToError
impl Send for RelativeToError
impl Sync for RelativeToError
impl Unpin for RelativeToError
impl UnwindSafe for RelativeToError
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