TaskReporter

Trait TaskReporter 

Source
pub trait TaskReporter: Sync + Send {
    // Required methods
    fn stage<'life0, 'life1, 'async_trait>(
        &'life0 self,
        stage_id: &'life1 str,
    ) -> Pin<Box<dyn Future<Output = Result<Box<dyn StageReporter>, Error>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
    fn start<'life0, 'async_trait>(
        &'life0 mut self,
        time: DateTime<Utc>,
    ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn end<'life0, 'life1, 'async_trait>(
        &'life0 mut self,
        task_asset: &'life1 dyn TaskAsset,
    ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
}

Required Methods§

Source

fn stage<'life0, 'life1, 'async_trait>( &'life0 self, stage_id: &'life1 str, ) -> Pin<Box<dyn Future<Output = Result<Box<dyn StageReporter>, Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Source

fn start<'life0, 'async_trait>( &'life0 mut self, time: DateTime<Utc>, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source

fn end<'life0, 'life1, 'async_trait>( &'life0 mut self, task_asset: &'life1 dyn TaskAsset, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Implementors§