Struct relative_path::RelativeToError
source · 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)>
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
source§fn eq(&self, other: &RelativeToError) -> bool
fn eq(&self, other: &RelativeToError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.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