Struct libmount::OSError
[−]
[src]
pub struct OSError(_, _);
The raw os error
This is a wrapper around io::Error
providing explain()
method
Note: you need to explain as fast as possible, because during explain library makes some probes for different things in filesystem, and if anything changes it may give incorrect results.
You should always explain()
the errors, unless you are trying lots of
mounts for bruteforcing or other similar thing and you are concerned of
performance. Usually library does stat()
and similar things which are
much faster than mount anyway. Also explaining is zero-cost in the success
path.
Methods
impl OSError
[src]
Trait Implementations
impl Display for OSError
[src]
impl StdError for OSError
[src]
fn cause(&self) -> Option<&StdError>
The lower-level cause of this error, if any. Read more
fn description(&self) -> &str
A short description of the error. Read more