Struct round_based::state_machine::Runtime
source · 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>
§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