Function ntex::into_service
source · pub fn into_service<Svc, Req, F>(tp: F) -> Svcwhere
Svc: Service<Req>,
F: IntoService<Svc, Req>,
Expand description
Convert object of type T
to a service S
pub fn into_service<Svc, Req, F>(tp: F) -> Svcwhere
Svc: Service<Req>,
F: IntoService<Svc, Req>,
Convert object of type T
to a service S