Struct xattr::UnsupportedPlatformError
[−]
[src]
pub struct UnsupportedPlatformError;
The error type returned on unsupported platforms.
On unsupported platforms, all operations will fail with an io::Error
with
a kind io::ErrorKind::Other
and an UnsupportedPlatformError
error as the inner error.
While you could check the inner error, it's probably simpler just to check
xattr::SUPPORTED_PLATFORM
.
This error mostly exists for pretty error messages.
Trait Implementations
impl Copy for UnsupportedPlatformError
[src]
impl Clone for UnsupportedPlatformError
[src]
fn clone(&self) -> UnsupportedPlatformError
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for UnsupportedPlatformError
[src]
impl Error for UnsupportedPlatformError
[src]
fn description(&self) -> &str
[src]
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
1.0.0[src]
The lower-level cause of this error, if any. Read more