Trait tor_rtcompat::SpawnBlocking[][src]

pub trait SpawnBlocking {
    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.

Implementors