pub struct NicBuilder { /* private fields */ }
Implementations§
Source§impl NicBuilder
impl NicBuilder
pub fn limit_ring_buffer(self, limit: bool) -> Self
pub fn max_queues(self, max_queues: u16) -> Self
pub fn virtual_function( self, virtual_function: Box<dyn VirtualFunction>, ) -> Self
pub fn get_guest_os_id( self, os_type: Box<dyn Fn() -> HvGuestOsId + Send + Sync>, ) -> Self
Auto Trait Implementations§
impl Freeze for NicBuilder
impl !RefUnwindSafe for NicBuilder
impl Send for NicBuilder
impl Sync for NicBuilder
impl Unpin for NicBuilder
impl !UnwindSafe for NicBuilder
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