pub struct ConversationProjected;Expand description
Fired by the ai-conversation mode’s drain AFTER a re-projection edit has
LANDED in the buffer. Boot wakes the editor actor on this (via
wake_on_event) so a streamed agent response repaints WITHOUT a keystroke,
and the per-tick prompt-focus callback runs.
Distinct from ConversationUpdated, which the supervisor fires when the
model changes — that is BEFORE the drain re-projects the buffer, so waking
on it would repaint stale content. Sequencing the wake after the owner-write
edit (this event) is what makes the last streamed chunk paint reliably.
Trait Implementations§
Source§impl Clone for ConversationProjected
impl Clone for ConversationProjected
Source§fn clone(&self) -> ConversationProjected
fn clone(&self) -> ConversationProjected
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ConversationProjected
impl Debug for ConversationProjected
Source§impl Default for ConversationProjected
impl Default for ConversationProjected
Source§fn default() -> ConversationProjected
fn default() -> ConversationProjected
Returns the “default value” for a type. Read more
Source§impl Event for ConversationProjected
impl Event for ConversationProjected
Source§fn event_type_id(&self) -> EventTypeId
fn event_type_id(&self) -> EventTypeId
The type-id under which this event is registered.
Implementors typically delegate to a
static to avoid
re-allocating the metadata on every call. The macro
register_event! generates this for you.Auto Trait Implementations§
impl Freeze for ConversationProjected
impl RefUnwindSafe for ConversationProjected
impl Send for ConversationProjected
impl Sync for ConversationProjected
impl Unpin for ConversationProjected
impl UnsafeUnpin for ConversationProjected
impl UnwindSafe for ConversationProjected
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§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> ⓘ
Converts
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> ⓘ
Converts
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§impl<T> IntoMaybeUndefined<T> for T
impl<T> IntoMaybeUndefined<T> for T
§fn into_maybe_undefined(self) -> MaybeUndefined<T>
fn into_maybe_undefined(self) -> MaybeUndefined<T>
Converts this value into a three-state builder argument.
§impl<T> IntoOption<T> for T
impl<T> IntoOption<T> for T
§fn into_option(self) -> Option<T>
fn into_option(self) -> Option<T>
Converts this value into an optional builder argument.