pub trait MakeServiceRef<Ctx, Request> {
type Response;
type Error;
type Service: Service<Request, Response = Self::Response, Error = Self::Error>;
type MakeError;
type Future: Future<Item = Self::Service, Error = Self::MakeError>;
// Required method
fn make_service_ref(&self, ctx: &Ctx) -> Self::Future;
}Expand description
An alias of MakeService receiving the context value of Ctx as reference.