#[repr(u32)]pub enum MmioVersion {
Legacy = 1,
Modern = 2,
}
Expand description
The version of the VirtIO MMIO transport supported by a device.
Variants§
Trait Implementations§
Source§impl Clone for MmioVersion
impl Clone for MmioVersion
Source§fn clone(&self) -> MmioVersion
fn clone(&self) -> MmioVersion
Returns a copy of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for MmioVersion
impl Debug for MmioVersion
Source§impl From<MmioVersion> for u32
impl From<MmioVersion> for u32
Source§fn from(version: MmioVersion) -> Self
fn from(version: MmioVersion) -> Self
Converts to this type from the input type.
Source§impl PartialEq for MmioVersion
impl PartialEq for MmioVersion
Source§impl TryFrom<u32> for MmioVersion
impl TryFrom<u32> for MmioVersion
impl Copy for MmioVersion
impl Eq for MmioVersion
impl StructuralPartialEq for MmioVersion
Auto Trait Implementations§
impl Freeze for MmioVersion
impl RefUnwindSafe for MmioVersion
impl Send for MmioVersion
impl Sync for MmioVersion
impl Unpin for MmioVersion
impl UnwindSafe for MmioVersion
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)