[−][src]Trait actix_service::ServiceFactoryExt
Provided methods
pub fn map<F, R>(self, f: F) -> MapServiceFactory<Self, F, Req, R> where
Self: Sized,
F: FnMut(Self::Response) -> R + Clone,
[src]
Self: Sized,
F: FnMut(Self::Response) -> R + Clone,
Map this service's output to a different type, returning a new service of the resulting type.
pub fn map_err<F, E>(self, f: F) -> MapErrServiceFactory<Self, Req, F, E> where
Self: Sized,
F: Fn(Self::Error) -> E + Clone,
[src]
Self: Sized,
F: Fn(Self::Error) -> E + Clone,
Map this service's error to a different error, returning a new service.
pub fn map_init_err<F, E>(self, f: F) -> MapInitErr<Self, F, Req, E> where
Self: Sized,
F: Fn(Self::InitError) -> E + Clone,
[src]
Self: Sized,
F: Fn(Self::InitError) -> E + Clone,
Map this factory's init error to a different error, returning a new service.
Implementors
impl<S, Req> ServiceFactoryExt<Req> for S where
S: ServiceFactory<Req>,
[src]
S: ServiceFactory<Req>,