Struct rex::manager::StateMachineManager
source · pub struct StateMachineManager<K>where
K: Rex,{ /* private fields */ }Expand description
Manages the Signal scope of various States and StateMachines bounded by
a Kind enumerable
Implementations§
source§impl<K> StateMachineManager<K>where
K: Rex,
impl<K> StateMachineManager<K>where
K: Rex,
pub fn context(&self) -> SmContext<K>
pub fn new( state_machines: Vec<Box<dyn StateMachine<K>>>, signal_queue: Arc<SignalQueue<K>>, notification_queue: UnboundedSender<Notification<K::Message>> ) -> Self
pub fn init(&self) -> AbortHandle
Auto Trait Implementations§
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