Struct dbs_virtio_devices::VirtioSharedMemory
source · pub struct VirtioSharedMemory {
pub offset: u64,
pub len: u64,
}
Expand description
Device memory shared between guest and the device backend driver, defined by the Virtio specification for Virtio-fs devices.
Fields§
§offset: u64
offset from the bar base
len: u64
len of this shared memory region
Trait Implementations§
source§fn clone(&self) -> VirtioSharedMemory
fn clone(&self) -> VirtioSharedMemory
Returns a copy 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§fn eq(&self, other: &VirtioSharedMemory) -> bool
fn eq(&self, other: &VirtioSharedMemory) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.