Enum nix_compat::nar::listing::ListingError
source · pub enum ListingError {
UnsupportedPathComponent,
InvalidEncoding,
}
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)>
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 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