pub enum VirtioDeviceType {
Block,
Net,
Console,
Fs,
Vsock,
Rng,
Balloon,
Gpu,
}Expand description
VirtIO device types.
Variants§
Block
Block device.
Net
Network device.
Console
Console device.
Fs
Filesystem (9p/virtiofs).
Vsock
Socket device.
Rng
Entropy source.
Balloon
Balloon device.
Gpu
GPU device.
Trait Implementations§
Source§impl Clone for VirtioDeviceType
impl Clone for VirtioDeviceType
Source§fn clone(&self) -> VirtioDeviceType
fn clone(&self) -> VirtioDeviceType
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for VirtioDeviceType
impl Debug for VirtioDeviceType
Source§impl<'de> Deserialize<'de> for VirtioDeviceType
impl<'de> Deserialize<'de> for VirtioDeviceType
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for VirtioDeviceType
impl PartialEq for VirtioDeviceType
Source§impl Serialize for VirtioDeviceType
impl Serialize for VirtioDeviceType
impl Copy for VirtioDeviceType
impl Eq for VirtioDeviceType
impl StructuralPartialEq for VirtioDeviceType
Auto Trait Implementations§
impl Freeze for VirtioDeviceType
impl RefUnwindSafe for VirtioDeviceType
impl Send for VirtioDeviceType
impl Sync for VirtioDeviceType
impl Unpin for VirtioDeviceType
impl UnsafeUnpin for VirtioDeviceType
impl UnwindSafe for VirtioDeviceType
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