Enum virtio_drivers::Error
source · [−]pub enum Error {
BufferTooSmall,
NotReady,
AlreadyUsed,
InvalidParam,
DmaError,
IoError,
}
Expand description
The error type of VirtIO drivers.
Variants
BufferTooSmall
The buffer is too small.
NotReady
The device is not ready.
AlreadyUsed
The queue is already in use.
InvalidParam
Invalid parameter.
DmaError
Failed to alloc DMA memory.
IoError
I/O Error
Trait Implementations
impl Eq for Error
impl StructuralEq for Error
impl StructuralPartialEq for Error
Auto Trait Implementations
impl RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl UnwindSafe for Error
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more