pub enum SharedMemoryPrepareType {
SingleMappingOnFirst(MemCacheType),
DynamicPerMapping,
}Expand description
Type of Virtio device memory mapping to use.
Variants§
SingleMappingOnFirst(MemCacheType)
On first attempted mapping, the entire SharedMemoryRegion is configured with declared MemCacheType.
DynamicPerMapping
No mapping preparation is performed. each mapping is handled individually
Auto Trait Implementations§
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