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 Copy for UnsupportedPlatformError
impl Clone for UnsupportedPlatformError
[src]
impl Clone for UnsupportedPlatformError
fn clone(&self) -> UnsupportedPlatformError
[src]
fn clone(&self) -> UnsupportedPlatformError
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for UnsupportedPlatformError
[src]
impl Debug for UnsupportedPlatformError
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Error for UnsupportedPlatformError
[src]
impl Error for UnsupportedPlatformError
fn description(&self) -> &str
[src]
fn description(&self) -> &str
This method is soft-deprecated. Read more
fn cause(&self) -> Option<&Error>
1.0.0[src]
fn cause(&self) -> Option<&Error>
1.0.0
[src]The lower-level cause of this error, if any. Read more
impl Display for UnsupportedPlatformError
[src]
impl Display for UnsupportedPlatformError
Auto Trait Implementations
impl Send for UnsupportedPlatformError
impl Send for UnsupportedPlatformError
impl Sync for UnsupportedPlatformError
impl Sync for UnsupportedPlatformError