pub trait HandlesSend<Cx>: Handles<Cx> {
    // Required method
    fn handle<'a>(
        self,
        req: &'a [u8],
        cx: Cx
    ) -> impl Future<Output = Result<Vec<u8>, Error<impl Scope + 'a>>> + Send + 'a
       where Cx: 'a;
}

Required Methods§

source

fn handle<'a>( self, req: &'a [u8], cx: Cx ) -> impl Future<Output = Result<Vec<u8>, Error<impl Scope + 'a>>> + Send + 'awhere Cx: 'a,

Implementors§

source§

impl<T, Cx> HandlesSend<Cx> for Twhere for<'a> T: Handles<Cx> + Handle<Cx, &'a [u8]> + Send + 'a, for<'a> HandleSend<'a, T, Cx>: Send, Cx: Send,