pub enum ListingError {
UnsupportedPathComponent,
InvalidEncoding,
}Available on crate feature
serde only.Variants§
UnsupportedPathComponent
An unsupported path component can be:
- either a Windows prefix (
C:\\,\\share\\) - either a parent directory (
..) - either a root directory (
/)
InvalidEncoding
Trait Implementations§
Source§impl Debug for ListingError
impl Debug for ListingError
Source§impl Display for ListingError
impl Display for ListingError
Source§impl Error for ListingError
impl Error for ListingError
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()
Auto Trait Implementations§
impl Freeze for ListingError
impl RefUnwindSafe for ListingError
impl Send for ListingError
impl Sync for ListingError
impl Unpin for ListingError
impl UnsafeUnpin for ListingError
impl UnwindSafe for ListingError
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