[−][src]Function hyper::rt::run
pub fn run<F>(f: F) where
F: Future<Item = (), Error = ()> + Send + 'static,
Start the Tokio runtime using the supplied future to bootstrap execution.
Example
See the server documentation for an example of its usage.