Struct StripPrefixError
struct StripPrefixError(_)
An error returned from Path::strip_prefix if the prefix was not found.
This struct is created by the strip_prefix method on Path.
See its documentation for more.
Implementations
impl Clone for StripPrefixError
fn clone(self: &Self) -> StripPrefixError
impl Debug for StripPrefixError
fn fmt(self: &Self, f: &mut $crate::fmt::Formatter<'_>) -> $crate::fmt::Result
impl Display for StripPrefixError
fn fmt(self: &Self, f: &mut fmt::Formatter<'_>) -> fmt::Result
impl Eq for StripPrefixError
impl Error for StripPrefixError
impl Freeze for StripPrefixError
impl PartialEq for StripPrefixError
fn eq(self: &Self, other: &StripPrefixError) -> bool
impl RefUnwindSafe for StripPrefixError
impl Send for StripPrefixError
impl StructuralPartialEq for StripPrefixError
impl Sync for StripPrefixError
impl Unpin for StripPrefixError
impl UnwindSafe for StripPrefixError
impl<T> Any for StripPrefixError
fn type_id(self: &Self) -> TypeId
impl<T> Borrow for StripPrefixError
fn borrow(self: &Self) -> &T
impl<T> BorrowMut for StripPrefixError
fn borrow_mut(self: &mut Self) -> &mut T
impl<T> CloneToUninit for StripPrefixError
unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)
impl<T> From for StripPrefixError
fn from(t: T) -> TReturns the argument unchanged.
impl<T> ToOwned for StripPrefixError
fn to_owned(self: &Self) -> Tfn clone_into(self: &Self, target: &mut T)
impl<T> ToString for StripPrefixError
fn to_string(self: &Self) -> String
impl<T, U> Into for StripPrefixError
fn into(self: Self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom for StripPrefixError
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T, U> TryInto for StripPrefixError
fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>