pub struct TaskEnding {
pub call: String,
pub status: Option<ToolCallStatus>,
pub summary: String,
pub text: String,
pub at: usize,
}Expand description
What a persisted task ending says, which is what the live wire’s
task_notification frame says: the CLI writes the frame’s fields as XML
into the transcript instead.
Public because Rendered carries them: a caller building turns needs the
endings the fold already read, rather than a second walk to find them.
Fields§
§call: StringThe call it ends, from the notice’s <tool-use-id>.
status: Option<ToolCallStatus>How the task ended. None for a word this does not know.
summary: StringThe harness’s own sentence about the outcome.
text: StringThe notice as the CLI wrote it, which a carried copy repeats verbatim.
at: usizeWhere the notice sits in the conversation it was read from, which is what says whether a turn already holds it.
Auto Trait Implementations§
impl Freeze for TaskEnding
impl RefUnwindSafe for TaskEnding
impl Send for TaskEnding
impl Sync for TaskEnding
impl Unpin for TaskEnding
impl UnsafeUnpin for TaskEnding
impl UnwindSafe for TaskEnding
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
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
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> ⓘ
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