pub struct Facts {
pub live: bool,
pub paused: bool,
pub blocked: bool,
pub must_clear: bool,
pub waiting: bool,
pub claims: bool,
pub lead: bool,
pub turn: bool,
}Expand description
The facts that make the state of a session (SessionState::of).
Fields§
§live: boolAn open watch stream, or a lead or a session in a container that is not gone.
paused: boolThe riff or the repository of the session is paused.
blocked: boolA block that holds.
must_clear: boolA worker that must clear its context.
waiting: boolEach claim waits.
claims: boolThe session holds a claim.
lead: boolThe session is the lead of its user.
turn: boolThe hooks saw a turn that runs.
Trait Implementations§
impl Copy for Facts
impl Eq for Facts
impl StructuralPartialEq for Facts
Auto Trait Implementations§
impl Freeze for Facts
impl RefUnwindSafe for Facts
impl Send for Facts
impl Sync for Facts
impl Unpin for Facts
impl UnsafeUnpin for Facts
impl UnwindSafe for Facts
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.