pub struct ProgramShared<V: ProgramVars> {
pub store: Arc<ChannelStore>,
pub channels: Arc<Vec<Channel>>,
pub event_flags: Arc<EventFlagSet>,
pub shutdown: Arc<AtomicBool>,
pub ss_wakeups: Vec<Arc<Notify>>,
pub _phantom: PhantomData<V>,
}Expand description
Shared state across all state sets in a program.
Fields§
§store: Arc<ChannelStore>§channels: Arc<Vec<Channel>>§event_flags: Arc<EventFlagSet>§shutdown: Arc<AtomicBool>§ss_wakeups: Vec<Arc<Notify>>§_phantom: PhantomData<V>Auto Trait Implementations§
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