1
0
mirror of https://github.com/fafhrd91/actix-net synced 2025-06-26 22:07:42 +02:00

Connect::set_addr()

This commit is contained in:
Nikolay Kim
2019-04-19 17:43:52 -07:00
parent ae27b87641
commit 3b314e4c8c
4 changed files with 20 additions and 4 deletions

View File

@ -8,10 +8,13 @@ pub type BoxedService<Req, Res, Err> = Box<
Request = Req,
Response = Res,
Error = Err,
Future = Either<FutureResult<Res, Err>, Box<Future<Item = Res, Error = Err>>>,
Future = BoxedServiceResponse<Res, Err>,
>,
>;
pub type BoxedServiceResponse<Res, Err> =
Either<FutureResult<Res, Err>, Box<Future<Item = Res, Error = Err>>>;
/// Create boxed new service
pub fn new_service<T, C>(
service: T,