Struct nix::mount::NmountError
source · pub struct NmountError { /* private fields */ }
Available on crate feature
mount
only.Expand description
The Error type of Nmount::nmount
.
It wraps an Errno
, but also may contain an additional message returned
by nmount(2)
.
Implementations§
Trait Implementations§
source§impl Debug for NmountError
impl Debug for NmountError
source§impl Display for NmountError
impl Display for NmountError
source§impl Error for NmountError
impl Error for NmountError
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()
source§impl From<NmountError> for Error
impl From<NmountError> for Error
source§fn from(err: NmountError) -> Self
fn from(err: NmountError) -> Self
Converts to this type from the input type.