pub type Error = Error<DeviceError>;Aliased Type§
enum Error {
Show 16 variants
Timeout,
EndOfFile,
ReadError,
WriteError,
UnexpectedEof,
NoSpace,
NotAFile,
NotFound,
Overflow,
NotReadable,
NotWritable,
NotADirectory,
NonEmptyDirectory,
InvalidIndex,
InvalidOptions,
Other(DeviceError),
}Variants§
Timeout
EndOfFile
ReadError
WriteError
UnexpectedEof
NoSpace
NotAFile
NotFound
Overflow
NotReadable
NotWritable
NotADirectory
NonEmptyDirectory
InvalidIndex
InvalidOptions
Other(DeviceError)
Trait Implementations§
Source§impl From<DeviceError> for Error
impl From<DeviceError> for Error
Source§fn from(v: DeviceError) -> Error
fn from(v: DeviceError) -> Error
Converts to this type from the input type.