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]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for UnsupportedPlatformError
[src]

Formats the value using the given formatter. Read more

impl Error for UnsupportedPlatformError
[src]

This method is soft-deprecated. Read more

The lower-level cause of this error, if any. Read more

impl Display for UnsupportedPlatformError
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations