Trait async_scoped::spawner::Blocker
source · pub unsafe trait Blocker {
// Required method
fn block_on<T, F: Future<Output = T>>(&self, f: F) -> T;
}
Required Methods§
Object Safety§
This trait is not object safe.
pub unsafe trait Blocker {
// Required method
fn block_on<T, F: Future<Output = T>>(&self, f: F) -> T;
}