BLSTasksFetcher

Trait BLSTasksFetcher 

Source
pub trait BLSTasksFetcher<T: Task> {
    // Required methods
    fn contains<'life0, 'life1, 'async_trait>(
        &'life0 self,
        task_request_id: &'life1 [u8],
    ) -> Pin<Box<dyn Future<Output = DataAccessResult<bool>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
    fn get<'life0, 'life1, 'async_trait>(
        &'life0 self,
        task_request_id: &'life1 [u8],
    ) -> Pin<Box<dyn Future<Output = DataAccessResult<T>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
    fn is_handled<'life0, 'life1, 'async_trait>(
        &'life0 self,
        task_request_id: &'life1 [u8],
    ) -> Pin<Box<dyn Future<Output = DataAccessResult<bool>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
}

Required Methods§

Source

fn contains<'life0, 'life1, 'async_trait>( &'life0 self, task_request_id: &'life1 [u8], ) -> Pin<Box<dyn Future<Output = DataAccessResult<bool>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Source

fn get<'life0, 'life1, 'async_trait>( &'life0 self, task_request_id: &'life1 [u8], ) -> Pin<Box<dyn Future<Output = DataAccessResult<T>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Source

fn is_handled<'life0, 'life1, 'async_trait>( &'life0 self, task_request_id: &'life1 [u8], ) -> Pin<Box<dyn Future<Output = DataAccessResult<bool>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Implementors§