pub struct RunState {
pub accept_new: Arc<AtomicBool>,
pub store: ClientStore,
pub intents: Arc<Mutex<IntentMachine>>,
pub dispatch: DispatchState,
pub welcome: Arc<Mutex<Option<Welcome>>>,
pub stall_report_secs: u64,
pub reconnect_grace_secs: u64,
}Fields§
§accept_new: Arc<AtomicBool>§store: ClientStore§intents: Arc<Mutex<IntentMachine>>§dispatch: DispatchState§welcome: Arc<Mutex<Option<Welcome>>>§stall_report_secs: u64§reconnect_grace_secs: u64Seconds a dropped plugin connection may stay away before this client retires the task-free session it left behind. Zero disables the sweep.
Implementations§
Source§impl RunState
impl RunState
pub fn new(init: &ClientInit, store: ClientStore) -> Result<Self>
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for RunState
impl !UnwindSafe for RunState
impl Freeze for RunState
impl Send for RunState
impl Sync for RunState
impl Unpin for RunState
impl UnsafeUnpin for RunState
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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