pub(crate) struct Moved {
pub monitors: bool,
pub background_tasks: bool,
pub processes: bool,
pub commands: bool,
pub agents: bool,
pub cards: bool,
pub lost_prompts: Vec<QueuedPrompt>,
pub nudge: bool,
pub repo_nudge: Option<bool>,
pub turn_ended: Option<MovedTurnEnd>,
}Expand description
What one event MOVED in the domain’s whole sets.
A set that did not change is not news. Each moves whole and on discrete frames, and every frame of a busy seat reaches this fold - so a viewer redrawing on each one would pay for nothing, and the answer is taken by comparing the sets the fold was handed with the ones it left.
The walk joins them on the death only: nothing else in this fold writes it (the seat’s own loop does), so the flag is the one transition this fold makes - a snapshot that was held and is now gone.
Fields§
§monitors: bool§background_tasks: bool§processes: bool§commands: bool§agents: bool§cards: bool§lost_prompts: Vec<QueuedPrompt>The prompts still queued when the occupant went. They died with its process, so the caller draws the row each one will never get.
nudge: boolA failed turn armed the continuation, which the caller fires the moment this fold returns.
repo_nudge: Option<bool>The CLI reported a repository mutation. Some(false) re-reads the
tree, Some(true) also re-runs the PR lookup because the held block
was looked up before the change existed.
turn_ended: Option<MovedTurnEnd>The seat’s turn ended in this event, as the caller announces it.
None while no turn ended here.
Auto Trait Implementations§
impl Freeze for Moved
impl RefUnwindSafe for Moved
impl Send for Moved
impl Sync for Moved
impl Unpin for Moved
impl UnsafeUnpin for Moved
impl UnwindSafe for Moved
Blanket Implementations§
§impl<T> AnySync for T
impl<T> AnySync for T
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
impl<S, T> Duplex<S> for Twhere
T: FromSample<S> + ToSample<S>,
§impl<S> FromSample<S> for S
impl<S> FromSample<S> for S
fn from_sample_(s: S) -> S
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more