pub struct StateMachineManager<K: Rex> { /* private fields */ }Expand description
Manages the Signal scope of various [State]s and StateMachines bounded by
a Kind enumerable
Implementations§
Source§impl<K: Rex> StateMachineManager<K>
impl<K: Rex> StateMachineManager<K>
pub fn ctx_builder(&self) -> EmptyContext<K>
pub fn new( state_machines: Vec<Box<dyn StateMachine<K>>>, signal_queue: SignalQueue<K>, notification_queue: NotificationQueue<K::Message>, ) -> Self
pub fn init(&self, join_set: &mut JoinSet<()>)
Auto Trait Implementations§
impl<K> Freeze for StateMachineManager<K>
impl<K> !RefUnwindSafe for StateMachineManager<K>
impl<K> Send for StateMachineManager<K>
impl<K> Sync for StateMachineManager<K>
impl<K> Unpin for StateMachineManager<K>
impl<K> !UnwindSafe for StateMachineManager<K>
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