Enum interfaces::InterfacesError [−][src]
Expand description
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(Errno)
Errno indicates that something went wrong with an underlying syscall. The internal value
is the errno
that was returned.
Tuple Fields of Errno
0: Errno
NotSupported(&'static str)
NotSupported indicates that something required for this operation is not currently supported on this platform or computer. The internal string may contain more detail.
Tuple Fields of NotSupported
0: &'static str
Implementations
Create a new instance of InterfacesError
with the error set to the current value of the
libc errno
variable.
Trait Implementations
Performs the conversion.