pub trait IntoService<S, Req>where
    S: Service<Req>,{
    // Required method
    fn into_service(self) -> S;
}
Expand description

Trait for types that can be converted to a Service

Required Methods§

source

fn into_service(self) -> S

Convert to a Service

Implementors§

source§

impl<S, Req> IntoService<S, Req> for Swhere S: Service<Req>,