Type Alias Error

Source
pub type Error = Error<DeviceError>;

Aliased Type§

enum Error {
Show 16 variants Read, Write, Timeout, EndOfFile, UnexpectedEof, NoSpace, NotAFile, NotFound, Overflow, NotReadable, NotWritable, NotADirectory, NonEmptyDirectory, InvalidIndex, InvalidOptions, Other(DeviceError),
}

Variants§

§

Read

§

Write

§

Timeout

§

EndOfFile

§

UnexpectedEof

§

NoSpace

§

NotAFile

§

NotFound

§

Overflow

§

NotReadable

§

NotWritable

§

NotADirectory

§

NonEmptyDirectory

§

InvalidIndex

§

InvalidOptions

§

Other(DeviceError)

Trait Implementations§

Source§

impl From<DeviceError> for Error

Source§

fn from(v: DeviceError) -> Error

Converts to this type from the input type.