Struct actix_service::boxed::BoxServiceFactory [−][src]
pub struct BoxServiceFactory<Cfg, Req, Res, Err, InitErr>(_);
Expand description
Wrapper for a service factory that will map it’s services to boxed trait object services.
Trait Implementations
impl<C, Req, Res, Err, InitErr> ServiceFactory<Req> for BoxServiceFactory<C, Req, Res, Err, InitErr> where
Req: 'static,
Res: 'static,
Err: 'static,
InitErr: 'static,
impl<C, Req, Res, Err, InitErr> ServiceFactory<Req> for BoxServiceFactory<C, Req, Res, Err, InitErr> where
Req: 'static,
Res: 'static,
Err: 'static,
InitErr: 'static,
type Response = Res
type Response = Res
Responses given by the created services.
type Error = Err
type Error = Err
Errors produced by the created services.
type Config = C
type Config = C
Service factory configuration.
type Service = BoxService<Req, Res, Err>
type Service = BoxService<Req, Res, Err>
The kind of Service
created by this factory.
type InitError = InitErr
type InitError = InitErr
Errors potentially raised while building a service.
Create and return a new service asynchronously.