Trait rt_local::base::RuntimeLoop
source · pub trait RuntimeLoop {
// Required methods
fn waker(&self) -> Arc<dyn RuntimeWaker, Global>;
fn run<T>(&self, on_step: impl FnMut() -> ControlFlow<T, ()>) -> T;
}pub trait RuntimeLoop {
// Required methods
fn waker(&self) -> Arc<dyn RuntimeWaker, Global>;
fn run<T>(&self, on_step: impl FnMut() -> ControlFlow<T, ()>) -> T;
}