pub enum DeviceError {
Show 26 variants
Timeout,
NotAFile,
NotFound,
EndOfFile,
NotReadable,
NotWritable,
UnexpectedEoF,
NotADirectory,
NonEmptyDirectory,
Read,
Write,
BadData,
NoSpace,
Hardware(u8),
Overflow,
InvalidIndex,
InvalidOptions,
NameTooLong,
InvalidChain,
InvalidVolume,
InvalidCluster,
InvalidChecksum,
InvalidPartition,
InvalidFileSystem,
UnsupportedVolume(u8),
UnsupportedFileSystem,
}Variants§
Timeout
NotAFile
NotFound
EndOfFile
NotReadable
NotWritable
UnexpectedEoF
NotADirectory
NonEmptyDirectory
Read
Write
BadData
NoSpace
Hardware(u8)
Overflow
InvalidIndex
InvalidOptions
NameTooLong
InvalidChain
InvalidVolume
InvalidCluster
InvalidChecksum
InvalidPartition
InvalidFileSystem
UnsupportedVolume(u8)
UnsupportedFileSystem
Trait Implementations§
Source§impl Debug for DeviceError
impl Debug for DeviceError
Source§impl From<CardError> for DeviceError
impl From<CardError> for DeviceError
Source§fn from(v: CardError) -> DeviceError
fn from(v: CardError) -> DeviceError
Converts to this type from the input type.
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.
Source§impl From<DeviceError> for ImageError
impl From<DeviceError> for ImageError
Source§fn from(v: DeviceError) -> ImageError
fn from(v: DeviceError) -> ImageError
Converts to this type from the input type.
Source§impl<B: BlockDevice, S: FileSync> Read<DeviceError> for File<'_, B, S>
impl<B: BlockDevice, S: FileSync> Read<DeviceError> for File<'_, B, S>
Source§impl<B: BlockDevice> Read<DeviceError> for Reader<'_, B>
impl<B: BlockDevice> Read<DeviceError> for Reader<'_, B>
Source§impl<B: BlockDevice, S: FileSync> Seek<DeviceError> for File<'_, B, S>
impl<B: BlockDevice, S: FileSync> Seek<DeviceError> for File<'_, B, S>
Source§impl<B: BlockDevice> Seek<DeviceError> for Reader<'_, B>
impl<B: BlockDevice> Seek<DeviceError> for Reader<'_, B>
Source§impl<B: BlockDevice, S: FileSync> Write<DeviceError> for File<'_, B, S>
impl<B: BlockDevice, S: FileSync> Write<DeviceError> for File<'_, B, S>
Auto Trait Implementations§
impl Freeze for DeviceError
impl RefUnwindSafe for DeviceError
impl Send for DeviceError
impl Sync for DeviceError
impl Unpin for DeviceError
impl UnwindSafe for DeviceError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more