1
0
mirror of https://github.com/fafhrd91/actix-net synced 2025-09-02 07:16:37 +02:00

add apply() combinator

This commit is contained in:
Nikolay Kim
2018-08-30 17:46:11 -07:00
parent fbd17e43f3
commit 7ff24863ab
2 changed files with 24 additions and 4 deletions

View File

@@ -1,7 +1,7 @@
use std::marker::PhantomData;
use futures::{Async, Future, Poll};
use {NewService, Service, IntoNewService};
use {IntoNewService, NewService, Service};
/// `ApplyService` service combinator
pub struct ApplyService<T, F, R, Req, Resp, Err> {