pub enum ParsePathError {
UnsupportedDirectory {
dir_type: String,
},
DisallowedPathComponent {
component: String,
},
InvalidFormat,
}
Variants§
Trait Implementations§
Source§impl Debug for ParsePathError
impl Debug for ParsePathError
Source§impl Display for ParsePathError
impl Display for ParsePathError
Source§impl Error for ParsePathError
impl Error for ParsePathError
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 ParsePathError
impl PartialEq for ParsePathError
impl StructuralPartialEq for ParsePathError
Auto Trait Implementations§
impl Freeze for ParsePathError
impl RefUnwindSafe for ParsePathError
impl Send for ParsePathError
impl Sync for ParsePathError
impl Unpin for ParsePathError
impl UnwindSafe for ParsePathError
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