pub struct NetworkRuntimeBuilder<'a> { /* private fields */ }Expand description
Builder for an all-at-once network queue runtime.
Implementations§
Source§impl<'a> NetworkRuntimeBuilder<'a>
impl<'a> NetworkRuntimeBuilder<'a>
pub fn new( devices: Vec<NetworkDeviceInput>, registrar: &'a dyn PinnedNetIrqRegistrar, active_cpus: CpuSet, ) -> Self
pub fn build( self, ) -> Result<(NetworkQueueRuntime, EthernetFramePortList), NetworkRuntimeError>
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for NetworkRuntimeBuilder<'a>
impl<'a> !Sync for NetworkRuntimeBuilder<'a>
impl<'a> !UnwindSafe for NetworkRuntimeBuilder<'a>
impl<'a> Freeze for NetworkRuntimeBuilder<'a>
impl<'a> Send for NetworkRuntimeBuilder<'a>
impl<'a> Unpin for NetworkRuntimeBuilder<'a>
impl<'a> UnsafeUnpin for NetworkRuntimeBuilder<'a>
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