pub struct VirtioQueueWorker { /* private fields */ }
Implementations§
Source§impl VirtioQueueWorker
impl VirtioQueueWorker
pub fn new( driver: impl Driver, context: Box<dyn VirtioQueueWorkerContext + Send>, ) -> Self
pub fn into_running_task( self, name: impl Into<String>, mem: GuestMemory, features: u64, queue_resources: QueueResources, exit_event: EventListener, ) -> TaskControl<VirtioQueueWorker, VirtioQueueState>
Trait Implementations§
Source§impl AsyncRun<VirtioQueueState> for VirtioQueueWorker
impl AsyncRun<VirtioQueueState> for VirtioQueueWorker
Auto Trait Implementations§
impl Freeze for VirtioQueueWorker
impl !RefUnwindSafe for VirtioQueueWorker
impl Send for VirtioQueueWorker
impl !Sync for VirtioQueueWorker
impl Unpin for VirtioQueueWorker
impl !UnwindSafe for VirtioQueueWorker
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