[][src]Trait actix_web::dev::HttpServiceFactory

pub trait HttpServiceFactory<P> {
    fn register(self, config: &mut ServiceConfig<P>);
}

Required methods

fn register(self, config: &mut ServiceConfig<P>)

Loading content...

Implementors

impl<P, T> HttpServiceFactory<P> for Resource<P, T> where
    P: 'static,
    T: NewService<Request = ServiceRequest<P>, Response = ServiceResponse, Error = Error, InitError = ()> + 'static, 
[src]

impl<P, T> HttpServiceFactory<P> for Scope<P, T> where
    P: 'static,
    T: NewService<Request = ServiceRequest<P>, Response = ServiceResponse, Error = Error, InitError = ()> + 'static, 
[src]

Loading content...