pub trait BlockOn: Clone + Send + Sync + 'static {
    fn block_on<F: Future>(&self, future: F) -> F::Output;
}
Expand description

Trait for a runtime that can block on a future.

Required Methods

Run future until it is ready, and return its output.

Implementations on Foreign Types

Implementors