block_on

Function block_on 

Source
pub fn block_on<F>(task: F)
where F: FnMut() + 'static + Send,
Expand description

Safely executing blocking code using which ever asynchronous runtime the library is built with