titan_server

Function serve

Source
pub fn serve<S>(listener: TcpListener, service: S) -> Serve<S>
where S: Service<Request> + Send + Clone + 'static, S::Future: Send, S::Response: Respondable, S::Error: Respondable,