pub trait AsyncRuntime {
// Required method
async fn yield_now(&self);
}Expand description
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.
Implementors§
impl AsyncRuntime for TokioRuntime
Available on crate feature
runtime-tokio only.impl AsyncRuntime for UnknownRuntime
impl<M> AsyncRuntime for Runtime<M>
Available on crate feature
state-machine only.