Enum virtio_drivers::MmioError
source · [−]Expand description
An error encountered initialising a VirtIO MMIO transport.
Variants
BadMagic(u32)
The header doesn’t start with the expected magic value 0x74726976.
UnsupportedVersion(u32)
The header reports a version number that is neither 1 (legacy) nor 2 (modern).
ZeroDeviceId
The header reports a device ID of 0.
Trait Implementations
impl Eq for MmioError
impl StructuralEq for MmioError
impl StructuralPartialEq for MmioError
Auto Trait Implementations
impl RefUnwindSafe for MmioError
impl Send for MmioError
impl Sync for MmioError
impl Unpin for MmioError
impl UnwindSafe for MmioError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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