pub struct StripPrefixError(StripPrefixError);Expand description
Failure to remove a lexical path prefix.
Tuple Fields§
§0: StripPrefixErrorTrait Implementations§
Source§impl Debug for StripPrefixError
impl Debug for StripPrefixError
Source§impl Display for StripPrefixError
impl Display for StripPrefixError
Source§impl Error for StripPrefixError
impl Error for StripPrefixError
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 From<StripPrefixError> for StripPrefixError
impl From<StripPrefixError> for StripPrefixError
Source§fn from(source: StripPrefixError) -> Self
fn from(source: StripPrefixError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for StripPrefixError
impl RefUnwindSafe for StripPrefixError
impl Send for StripPrefixError
impl Sync for StripPrefixError
impl Unpin for StripPrefixError
impl UnsafeUnpin for StripPrefixError
impl UnwindSafe for StripPrefixError
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