pub struct SmContext<K>where
K: Rex,{
pub signal_queue: Arc<SignalQueue<K>>,
pub notification_queue: UnboundedSender<Notification<K::Message>>,
pub state_store: Arc<StateStore<StateId<K>, K::State>>,
}Expand description
Store the injectable dependencies provided by the StateMachineManager
to a given state machine processor.
Fields§
§signal_queue: Arc<SignalQueue<K>>§notification_queue: UnboundedSender<Notification<K::Message>>§state_store: Arc<StateStore<StateId<K>, K::State>>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<K> !RefUnwindSafe for SmContext<K>
impl<K> Send for SmContext<K>
impl<K> Sync for SmContext<K>
impl<K> Unpin for SmContext<K>
impl<K> !UnwindSafe for SmContext<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