Trait Execute

Source
pub trait Execute<T, E> {
    // Required method
    fn execute<'life0, 'async_trait>(
        &'life0 mut self,
    ) -> Pin<Box<dyn Future<Output = Result<T, E>> + Send + 'async_trait>>
       where 'life0: 'async_trait,
             Self: 'async_trait;
}
Expand description

Asynchronous execution with error handling.

Required Methods§

Source

fn execute<'life0, 'async_trait>( &'life0 mut self, ) -> Pin<Box<dyn Future<Output = Result<T, E>> + Send + 'async_trait>>
where 'life0: 'async_trait, Self: 'async_trait,

Implementors§