Trait tor_rtcompat::BlockOn
source · [−]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.
pub trait BlockOn: Clone + Send + Sync + 'static {
fn block_on<F: Future>(&self, future: F) -> F::Output;
}
Trait for a runtime that can block on a future.