Function hyper::server::const_service [] [src]

pub fn const_service<S>(service: S) -> ConstService<S>

Create a NewService by sharing references of `service.