Function ntex::service::unit_config[][src]

pub fn unit_config<T, R, U, C>(factory: U) -> UnitConfig<T, R, C> where
    T: ServiceFactory<R, ()>,
    U: IntoServiceFactory<T, R, ()>, 
Expand description

Replace config with unit