Enum virtio_drivers::MmioVersion
source · [−]#[repr(u32)]
pub enum MmioVersion {
Legacy,
Modern,
}Expand description
The version of the VirtIO MMIO transport supported by a device.
Variants
Legacy
Legacy MMIO transport with page-based addressing.
Modern
Modern MMIO transport.
Trait Implementations
sourceimpl Clone for MmioVersion
impl Clone for MmioVersion
sourcefn clone(&self) -> MmioVersion
fn clone(&self) -> MmioVersion
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for MmioVersion
impl Debug for MmioVersion
sourceimpl From<MmioVersion> for u32
impl From<MmioVersion> for u32
sourcefn from(version: MmioVersion) -> Self
fn from(version: MmioVersion) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<MmioVersion> for MmioVersion
impl PartialEq<MmioVersion> for MmioVersion
sourcefn eq(&self, other: &MmioVersion) -> bool
fn eq(&self, other: &MmioVersion) -> bool
sourceimpl TryFrom<u32> for MmioVersion
impl TryFrom<u32> for MmioVersion
impl Copy for MmioVersion
impl Eq for MmioVersion
impl StructuralEq for MmioVersion
impl StructuralPartialEq for MmioVersion
Auto Trait Implementations
impl RefUnwindSafe for MmioVersion
impl Send for MmioVersion
impl Sync for MmioVersion
impl Unpin for MmioVersion
impl UnwindSafe for MmioVersion
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