Enum interfaces::InterfacesError[][src]

pub enum InterfacesError {
    Errno(Errno),
    NotSupported(&'static str),
}

InterfacesError is the error type that is returned by all functions in this crate. See the documentation on the individual variants for more information.

Variants

Errno indicates that something went wrong with an underlying syscall. The internal value is the errno that was returned.

NotSupported indicates that something required for this operation is not currently supported on this platform or computer. The internal string may contain more detail.

Methods

impl InterfacesError
[src]

Create a new instance of InterfacesError with the error set to the current value of the libc errno variable.

Trait Implementations

impl Debug for InterfacesError
[src]

Formats the value using the given formatter. Read more

impl From<Errno> for InterfacesError
[src]

Performs the conversion.

impl Error for InterfacesError
[src]

This method is soft-deprecated. Read more

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

impl Display for InterfacesError
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for InterfacesError

impl Sync for InterfacesError