pub struct VirtioNetworkDevice { /* private fields */ }Implementations§
Source§impl VirtioNetworkDevice
impl VirtioNetworkDevice
pub fn new() -> Self
pub fn new_with_attachment(attachment: &FileHandleNetworkAttachment) -> Self
pub fn set_attachment(&mut self, attachment: &FileHandleNetworkAttachment)
pub fn set_mac_address(&self, address: &MACAddress)
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for VirtioNetworkDevice
impl !RefUnwindSafe for VirtioNetworkDevice
impl !Sync for VirtioNetworkDevice
impl Send for VirtioNetworkDevice
impl Unpin for VirtioNetworkDevice
impl UnsafeUnpin for VirtioNetworkDevice
impl UnwindSafe for VirtioNetworkDevice
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