pub enum NfsError {
Show 19 variants
Ok,
Perm,
Noent,
Io,
Access,
Exist,
Xdev,
Notdir,
Isdir,
Inval,
Fbig,
Nospc,
Rofs,
Nametoolong,
Notempty,
Stale,
Notsupp,
Serverfault,
BadHandle,
}Expand description
NFS error type.
Variants§
Ok
Perm
Noent
Io
Access
Exist
Xdev
Notdir
Isdir
Inval
Fbig
Nospc
Rofs
Nametoolong
Notempty
Stale
Notsupp
Serverfault
BadHandle
Trait Implementations§
Source§impl Error for NfsError
impl Error for NfsError
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()
impl Copy for NfsError
impl Eq for NfsError
impl StructuralPartialEq for NfsError
Auto Trait Implementations§
impl Freeze for NfsError
impl RefUnwindSafe for NfsError
impl Send for NfsError
impl Sync for NfsError
impl Unpin for NfsError
impl UnsafeUnpin for NfsError
impl UnwindSafe for NfsError
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