Trait crb_task::Task

source ·
pub trait Task: Send + 'static {
    // Required method
    fn entrypoint<'async_trait>(
        self
    ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>
       where Self: 'async_trait;
}

Required Methods§

source

fn entrypoint<'async_trait>( self ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>
where Self: 'async_trait,

Implementors§