[][src]Function tokio::runtime::current_thread::run

pub fn run<F>(future: F) where
    F: Future<Item = (), Error = ()> + 'static, 

Start a current-thread runtime using the supplied future to bootstrap execution.

Panics

This function panics if called from the context of an executor.