Trait RuntimeBlockOn
pub trait RuntimeBlockOn {
// Required method
fn block_on<F>(&self, future: F) -> <F as Future>::Output
where F: Future;
}Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementors§
impl<C, E, I, T, Q> RuntimeBlockOn for RuntimeHandle<C, E, I, T, Q>where
C: ExecutorClock<Instant = GlobalManualInstant>,
E: ExternalTaskQueue,
I: IdleAccess,
T: TimerBinding<ClockInstant = GlobalManualInstant>,
Q: InternalTaskQueue + 'static,
impl<I, T> RuntimeBlockOn for ConfiguredLocalRuntime<I, T>
Available on non-
target_family=wasm only.