1
0
mirror of https://github.com/fafhrd91/actix-net synced 2025-08-30 23:30:19 +02:00

add .map service combinator

This commit is contained in:
Nikolay Kim
2018-08-28 10:39:27 -07:00
parent 71d725d250
commit 6ec5e958ac
3 changed files with 182 additions and 1 deletions

View File

@@ -115,7 +115,7 @@ where
impl<A, F, E> NewService for MapErrNewService<A, F, E>
where
A: NewService + Clone,
A: NewService,
F: Fn(A::Error) -> E + Clone,
{
type Request = A::Request;