[][src]Type Definition lightproc::proc_state::ProcState

type ProcState = Arc<Mutex<dyn State>>;

Generic protection type where state is stored as is. This allows us to share the state between the threads (both by ref and by value). All state implementors bound to use this.