Trait Function

Source
pub trait Function<T, R>
where T: Send, R: Send,
{ // Required method fn get<'life0, 'life1, 'async_trait>( &'life0 mut self, t: &'life1 T, ) -> Pin<Box<dyn Future<Output = Result<R>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait; }

Required Methods§

Source

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

Implementors§