Skip to main content

drive

Function drive 

Source
pub fn drive<T>(future: impl Future<Output = T>) -> T
Expand description

Runs future to its end on the calling thread, driving its shard’s IO meanwhile: block_on.