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

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

Create a NewService by sharing references of `service.