pub enum DevError {
AlreadyExists,
Again,
BadState,
InvalidParam,
Io,
NoMemory,
ResourceBusy,
Unsupported,
}
Expand description
The error type for device operation failures.
Variants§
AlreadyExists
An entity already exists.
Again
Try again, for non-blocking APIs.
BadState
Bad internal state.
InvalidParam
Invalid parameter/argument.
Io
Input/output error.
NoMemory
Not enough space/cannot allocate memory (DMA).
ResourceBusy
Device or resource is busy.
Unsupported
This operation is unsupported or unimplemented.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for DevError
impl Send for DevError
impl Sync for DevError
impl Unpin for DevError
impl UnwindSafe for DevError
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