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,
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,