Function actix_service::into_service 
source · [−]pub fn into_service<I, S, Req>(tp: I) -> S where
    I: IntoService<S, Req>,
    S: Service<Req>, Expand description
Convert object of type U to a service S
pub fn into_service<I, S, Req>(tp: I) -> S where
    I: IntoService<S, Req>,
    S: Service<Req>, Convert object of type U to a service S