pub enum DeviceError {
Show 17 variants
InvalidParam,
NotSupported,
IoError,
PermissionsDenied,
NoSuchDevice,
WouldBlock,
Busy,
OutOfMemory,
DeviceClosed,
BufferTooSmall,
AlreadyOpen,
NotOpen,
AddressOutOfRange,
DeviceAlreadyRegistered,
DeviceNumberConflict,
DeviceNotRegistered,
DeviceStillInUse,
}Variants§
InvalidParam
NotSupported
IoError
PermissionsDenied
NoSuchDevice
WouldBlock
Busy
OutOfMemory
DeviceClosed
BufferTooSmall
AlreadyOpen
NotOpen
AddressOutOfRange
DeviceAlreadyRegistered
DeviceNumberConflict
DeviceNotRegistered
DeviceStillInUse
Trait Implementations§
Source§impl Clone for DeviceError
impl Clone for DeviceError
Source§fn clone(&self) -> DeviceError
fn clone(&self) -> DeviceError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DeviceError
impl Debug for DeviceError
Source§impl From<DeviceError> for VfsError
impl From<DeviceError> for VfsError
Source§fn from(e: DeviceError) -> Self
fn from(e: DeviceError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for DeviceError
impl PartialEq for DeviceError
impl Copy for DeviceError
impl Eq for DeviceError
impl StructuralPartialEq for DeviceError
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