pub struct CliFormatter;Expand description
CLI-specific response formatter.
Formats outgoing messages for terminal output with emoji indicators for phase, evaluation result, duration, and error classification.
Trait Implementations§
Source§impl ChannelFormatter for CliFormatter
impl ChannelFormatter for CliFormatter
Source§fn format_success(&self, msg: &OutgoingMessage) -> String
fn format_success(&self, msg: &OutgoingMessage) -> String
Format a success response.
Source§fn format_error(&self, msg: &OutgoingMessage) -> String
fn format_error(&self, msg: &OutgoingMessage) -> String
Format an error response.
Source§fn format_progress(&self, phase: &str) -> String
fn format_progress(&self, phase: &str) -> String
Format an in-progress status indicator (for non-streaming channels).
Auto Trait Implementations§
impl Freeze for CliFormatter
impl RefUnwindSafe for CliFormatter
impl Send for CliFormatter
impl Sync for CliFormatter
impl Unpin for CliFormatter
impl UnsafeUnpin for CliFormatter
impl UnwindSafe for CliFormatter
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> 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