pub enum StripPrefixErrorKind {
Strip {
ancestor: PathBuf,
inner: StripPrefixError,
},
PrefixNotFound {
prefix: PathBuf,
},
}Variants§
Strip
Fields
This variant is marked as non-exhaustive
Non-exhaustive enum variants could have additional fields added in future. Therefore, non-exhaustive enum variants cannot be constructed in external crates and cannot be matched against.
§
inner: StripPrefixErrorPrefixNotFound
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for StripPrefixErrorKind
impl Send for StripPrefixErrorKind
impl Sync for StripPrefixErrorKind
impl Unpin for StripPrefixErrorKind
impl UnwindSafe for StripPrefixErrorKind
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