struct Entry {
view: PendingView,
kept: Arc<Notify>,
finished_at_ms: Option<i64>,
action: Option<Action>,
requesters: Vec<(String, String, String)>,
covers: Vec<String>,
closing: bool,
told: Vec<(String, String)>,
}Fields§
§view: PendingView§kept: Arc<Notify>§finished_at_ms: Option<i64>§action: Option<Action>Taken when the window runs out and the shutdown begins.
requesters: Vec<(String, String, String)>Everyone who asked, as (by, via, reason as sent): later requests for the
same block join this one rather than open a second window. The audit
keeps each reason exactly as its caller sent it; only view.reason, which
the user is shown, is cleaned (clean_reason).
covers: Vec<String>Every block it shuts down (Action::covers). A request naming any of
them joins this one, Keep running works from any of their banners,
and the banner shows on each — a pane’s close covers all its tabs
(ReAgent P1 on #3798: keyed on the named block alone, two closes
naming two tabs of one pane got two windows, and keeping one didn’t
stop the other closing the whole pane).
closing: boolThe person chose Close now: the window task is about to begin it, so a second press or a
Keep running finds too_late.
told: Vec<(String, String)>Callers that did not wait for the window (Stop pane, Stop agents), as (agent, tool): each is
told once, by an [AgentMux] note, if the user keeps what they asked to close or the close fails.
Auto Trait Implementations§
impl Freeze for Entry
impl RefUnwindSafe for Entry
impl Send for Entry
impl Sync for Entry
impl Unpin for Entry
impl UnsafeUnpin for Entry
impl UnwindSafe for Entry
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
§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.§impl<T> DowncastSync for T
impl<T> DowncastSync for T
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
§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