pub struct Runtime<M> { /* private fields */ }Available on crate feature
state-machine only.Expand description
State machine runtime
Trait Implementations§
Source§impl<M> AsyncRuntime for Runtime<M>
impl<M> AsyncRuntime for Runtime<M>
Source§type YieldNowFuture = YieldNow<M>
type YieldNowFuture = YieldNow<M>
Future type returned by yield_now
Source§fn yield_now(&self) -> Self::YieldNowFuture
fn yield_now(&self) -> Self::YieldNowFuture
Yields the execution back to the runtime Read more
Auto Trait Implementations§
impl<M> Freeze for Runtime<M>
impl<M> !RefUnwindSafe for Runtime<M>
impl<M> !Send for Runtime<M>
impl<M> !Sync for Runtime<M>
impl<M> Unpin for Runtime<M>
impl<M> !UnwindSafe for Runtime<M>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more