[]Function bastion::io::prelude::block_on

pub fn block_on<F>(future: F) -> <F as Future>::Output where
    F: Future + Send + 'static,
    <F as Future>::Output: Send,
    <F as Future>::Output: 'static, 

block_on will use the global executor instance, which is determined by the cargo features, to block until the given future has finished.