Trait handle::Handle[][src]

pub trait Handle<'a, Context> where
    Self: Send + Sync + 'static, 
{ type Output; fn call(&'a self, cx: &'a mut Context) -> BoxFuture<'a, Self::Output>; }
Expand description

A handle trait for asynchronous context pipeline.

Associated Types

The type of value produced on completion.

Required methods

Invokes the handler within the given Context and then returns Output.

Implementors