GetTaskStorage

Trait GetTaskStorage 

Source
pub trait GetTaskStorage {
    // Required method
    fn task_storage<'life0, 'async_trait>(
        &'life0 mut self,
        task_handle: u32,
    ) -> Pin<Box<dyn Future<Output = TaskStorage> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}

Required Methods§

Source

fn task_storage<'life0, 'async_trait>( &'life0 mut self, task_handle: u32, ) -> Pin<Box<dyn Future<Output = TaskStorage> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Implementors§

Source§

impl<T, D> GetTaskStorage for T
where T: HostCtx + AsContextMut<Data = D> + Send, D: Send,