Struct actix_service::ApplyTransform
source · [−]pub struct ApplyTransform<T, S, Req>(_, _);
Trait Implementations
sourceimpl<T, S, Req> Clone for ApplyTransform<T, S, Req>
impl<T, S, Req> Clone for ApplyTransform<T, S, Req>
sourceimpl<T, S, Req> ServiceFactory<Req> for ApplyTransform<T, S, Req> where
S: ServiceFactory<Req>,
T: Transform<S::Service, Req, InitError = S::InitError>,
impl<T, S, Req> ServiceFactory<Req> for ApplyTransform<T, S, Req> where
S: ServiceFactory<Req>,
T: Transform<S::Service, Req, InitError = S::InitError>,
type Response = <T as Transform<<S as ServiceFactory<Req>>::Service, Req>>::Response
type Response = <T as Transform<<S as ServiceFactory<Req>>::Service, Req>>::Response
Responses given by the created services.
type Error = <T as Transform<<S as ServiceFactory<Req>>::Service, Req>>::Error
type Error = <T as Transform<<S as ServiceFactory<Req>>::Service, Req>>::Error
Errors produced by the created services.
type Config = <S as ServiceFactory<Req>>::Config
type Config = <S as ServiceFactory<Req>>::Config
Service factory configuration.
type Service = <T as Transform<<S as ServiceFactory<Req>>::Service, Req>>::Transform
type Service = <T as Transform<<S as ServiceFactory<Req>>::Service, Req>>::Transform
The kind of Service
created by this factory.
type InitError = <T as Transform<<S as ServiceFactory<Req>>::Service, Req>>::InitError
type InitError = <T as Transform<<S as ServiceFactory<Req>>::Service, Req>>::InitError
Errors potentially raised while building a service.
type Future = ApplyTransformFuture<T, S, Req>
type Future = ApplyTransformFuture<T, S, Req>
The future of the Service
instance.g
sourcefn new_service(&self, cfg: S::Config) -> Self::Future
fn new_service(&self, cfg: S::Config) -> Self::Future
Create and return a new service asynchronously.
Auto Trait Implementations
impl<T, S, Req> RefUnwindSafe for ApplyTransform<T, S, Req> where
Req: RefUnwindSafe,
S: RefUnwindSafe,
T: RefUnwindSafe,
impl<T, S, Req> !Send for ApplyTransform<T, S, Req>
impl<T, S, Req> !Sync for ApplyTransform<T, S, Req>
impl<T, S, Req> Unpin for ApplyTransform<T, S, Req> where
Req: Unpin,
impl<T, S, Req> UnwindSafe for ApplyTransform<T, S, Req> where
Req: UnwindSafe,
S: RefUnwindSafe,
T: RefUnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<SF, Req> IntoServiceFactory<SF, Req> for SF where
SF: ServiceFactory<Req>,
impl<SF, Req> IntoServiceFactory<SF, Req> for SF where
SF: ServiceFactory<Req>,
sourcefn into_factory(self) -> SF
fn into_factory(self) -> SF
Convert Self
to a ServiceFactory