Skip to main content

run

Function run 

Source
pub async fn run<S>(service: S) -> Result<(), Error>
where S: Service<(AppState, Request<Incoming>), Response = Response<ResponseBody>, Error = Error> + Send + Clone + 'static, S::Future: Send + 'static,
Expand description

Run a Tower service with Vercel’s runtime