[][src]Trait warp_handle::Handle1

pub trait Handle1<A, Fut, R> where
    R: Reject,
    Fut: Future<Output = Result<String, R>>, 
{ fn handle(&self, f: fn(_: A) -> Fut) -> BoxedFilter<(String,)>; }

Required methods

fn handle(&self, f: fn(_: A) -> Fut) -> BoxedFilter<(String,)>

Loading content...

Implementors

impl<A, Fut, T, Futr, R> Handle1<A, Fut, R> for T where
    R: Reject,
    Fut: Future<Output = Result<String, R>> + Send + 'static,
    Futr: Future<Output = Result<(A,), Rejection>> + Send,
    T: Filter<Extract = (A,), Error = Rejection, Future = Futr> + Sync + Send + 'static + Copy,
    A: 'static, 
[src]

Loading content...