virtio

Trait VirtioQueueWorkerContext

Source
pub trait VirtioQueueWorkerContext {
    // Required method
    fn process_work<'life0, 'async_trait>(
        &'life0 mut self,
        work: Result<VirtioQueueCallbackWork>,
    ) -> Pin<Box<dyn Future<Output = bool> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}

Required Methods§

Source

fn process_work<'life0, 'async_trait>( &'life0 mut self, work: Result<VirtioQueueCallbackWork>, ) -> Pin<Box<dyn Future<Output = bool> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Implementors§