[][src]Trait handle::Handle

pub trait Handle<'a, Context, Output>: Send + Sync + 'static {
#[must_use]    fn call<'async_trait>(
        &'a self,
        cx: Pin<&'a mut Context>
    ) -> Pin<Box<dyn Future<Output = Output> + Send + 'async_trait>>
    where
        'a: 'async_trait,
        Self: 'async_trait
; }

Required methods

#[must_use]fn call<'async_trait>(
    &'a self,
    cx: Pin<&'a mut Context>
) -> Pin<Box<dyn Future<Output = Output> + Send + 'async_trait>> where
    'a: 'async_trait,
    Self: 'async_trait, 

Loading content...

Implementors

impl<'a, Context, Output, F, Fut> Handle<'a, Context, Output> for F where
    F: Send + Sync + 'static + Fn(Pin<&'a mut Context>) -> Fut,
    Fut: Future<Output = Output> + Send + 'a,
    Context: 'a + Send,
    Output: 'a, 
[src]

Loading content...