mirror of
https://github.com/fafhrd91/actix-net
synced 2025-08-30 23:30:19 +02:00
add NewService::from_err combinator
This commit is contained in:
@@ -93,7 +93,10 @@ where
|
||||
}
|
||||
}
|
||||
|
||||
/// `MapErrNewService` new service combinator
|
||||
/// NewService for the `map_err` combinator, changing the type of a new
|
||||
/// service's error.
|
||||
///
|
||||
/// This is created by the `NewServiceExt::map_err` method.
|
||||
pub struct MapErrNewService<A, F, E> {
|
||||
a: A,
|
||||
f: F,
|
||||
|
Reference in New Issue
Block a user