Trait warp_handle::Handle5 [−][src]
pub trait Handle5<A, B, C, D, E, Fut, R, F, Rep> where
R: Reject,
Rep: Reply,
F: Fn(A, B, C, D, E) -> Fut,
Fut: Future<Output = Result<Rep, R>>, { fn handle(self, f: F) -> BoxedFilter<(Rep,)>; }
Required methods
fn handle(self, f: F) -> BoxedFilter<(Rep,)>
[src]Implementors
impl<A, B, C, D, E, Fut, R, F, Rep, T> Handle5<A, B, C, D, E, Fut, R, F, Rep> for T where
R: Reject,
Rep: Reply,
F: Fn(A, B, C, D, E) -> Fut + Clone + Sync + Send + 'static,
Fut: Future<Output = Result<Rep, R>> + Send,
T: Filter<Extract = (A, B, C, D, E), Error = Rejection> + Sync + Send + 'static,
[src]
impl<A, B, C, D, E, Fut, R, F, Rep, T> Handle5<A, B, C, D, E, Fut, R, F, Rep> for T where
R: Reject,
Rep: Reply,
F: Fn(A, B, C, D, E) -> Fut + Clone + Sync + Send + 'static,
Fut: Future<Output = Result<Rep, R>> + Send,
T: Filter<Extract = (A, B, C, D, E), Error = Rejection> + Sync + Send + 'static,
[src]