run

Function run 

Source
pub fn run<F, R>(fut: F) -> R
where F: Future<Output = R>,
Expand description

Run tasks until completion of a future

ยงImportant

This function will yield to the environment if configured to do so.