#[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 more