Function hyper_req_exts::start_server
source · pub async fn start_server<B, E>(addr: SocketAddr, router: Router<B, E>)where
E: Into<Box<dyn Error + Send + Sync>> + 'static,
B: HttpBody + Send + Sync + 'static,
B::Error: Into<Box<dyn Error + Send + Sync>> + 'static,
B::Data: Send + Sync + 'static,