pub struct StateStore<Id, S> { /* private fields */ }Expand description
StateStore is the storage layer for all state machines associated with a given manager.
Every state tree is associated with a particular Mutex
this allows separate state hirearchies to be acted upon concurrently
while making operations in a particular tree blocking
Implementations§
Source§impl<K: Rex> StateStore<StateId<K>, K::State>
impl<K: Rex> StateStore<StateId<K>, K::State>
Trait Implementations§
Auto Trait Implementations§
impl<Id, S> Freeze for StateStore<Id, S>
impl<Id, S> !RefUnwindSafe for StateStore<Id, S>
impl<Id, S> Send for StateStore<Id, S>
impl<Id, S> Sync for StateStore<Id, S>
impl<Id, S> Unpin for StateStore<Id, S>
impl<Id, S> !UnwindSafe for StateStore<Id, S>
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