pub struct MemConfig {
pub id: String,
pub region_base: u64,
pub region_size: u64,
pub requested_size: u64,
}Expand description
Configuration as built by the API layer.
Fields§
§id: StringOperator-supplied identifier.
region_base: u64Guest-physical base of the hotplug region.
region_size: u64Total region size in bytes (must be a multiple of BLOCK_SIZE).
requested_size: u64Initial requested size (driver-side hint; the device tells the driver to plug up to this much).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MemConfig
impl RefUnwindSafe for MemConfig
impl Send for MemConfig
impl Sync for MemConfig
impl Unpin for MemConfig
impl UnsafeUnpin for MemConfig
impl UnwindSafe for MemConfig
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