pub struct NetLocalParameters {
guest_memory: GuestMemory,
protection_type: ProtectionType,
}Expand description
Additional parameters required on the destination process to configure net VirtioPciDevice.
Fields§
§guest_memory: GuestMemory§protection_type: ProtectionTypeImplementations§
Source§impl NetLocalParameters
impl NetLocalParameters
Sourcepub fn new(guest_memory: GuestMemory, protection_type: ProtectionType) -> Self
pub fn new(guest_memory: GuestMemory, protection_type: ProtectionType) -> Self
Constructs NetLocalParameters.
Auto Trait Implementations§
impl Freeze for NetLocalParameters
impl RefUnwindSafe for NetLocalParameters
impl Send for NetLocalParameters
impl Sync for NetLocalParameters
impl Unpin for NetLocalParameters
impl UnwindSafe for NetLocalParameters
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