#[non_exhaustive]pub enum FileError {
Show 25 variants
Exist,
Isdir,
Acces,
Nametoolong,
Noent,
Notdir,
Nxio,
Nodev,
Rofs,
Txtbsy,
Fault,
Loop,
Nospc,
Nomem,
Mfile,
Nfile,
Badf,
Inval,
Pipe,
Again,
Intr,
Io,
Perm,
Nosys,
Failed,
}
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Exist
Isdir
Acces
Nametoolong
Noent
Notdir
Nxio
Nodev
Rofs
Txtbsy
Fault
Loop
Nospc
Nomem
Mfile
Nfile
Badf
Inval
Pipe
Again
Intr
Io
Perm
Nosys
Failed
Trait Implementations§
source§impl ErrorDomain for FileError
impl ErrorDomain for FileError
source§impl Ord for FileError
impl Ord for FileError
source§impl PartialEq<FileError> for FileError
impl PartialEq<FileError> for FileError
source§impl PartialOrd<FileError> for FileError
impl PartialOrd<FileError> for FileError
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for FileError
impl Eq for FileError
impl StructuralEq for FileError
impl StructuralPartialEq for FileError
Auto Trait Implementations§
impl RefUnwindSafe for FileError
impl Send for FileError
impl Sync for FileError
impl Unpin for FileError
impl UnwindSafe for FileError
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