pub struct VerboseFormatter { /* private fields */ }Implementations§
Trait Implementations§
Source§impl Clone for VerboseFormatter
impl Clone for VerboseFormatter
Source§fn clone(&self) -> VerboseFormatter
fn clone(&self) -> VerboseFormatter
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for VerboseFormatter
impl Default for VerboseFormatter
Source§impl EventFormatter for VerboseFormatter
impl EventFormatter for VerboseFormatter
fn print_system(&mut self, msg: &str)
fn print_ai( &mut self, msg: &str, agent: &str, model_info: &Option<ModelInfo>, token_usage: &Option<TokenUsage>, )
fn print_warning(&mut self, msg: &str)
fn print_error(&mut self, msg: &str)
fn print_retry_attempt(&mut self, attempt: u32, max_retries: u32, error: &str)
fn print_tool_request(&mut self, tool_request: &ToolRequest)
fn print_tool_result( &mut self, name: &str, success: bool, result: ToolExecutionResult, verbose: bool, )
fn print_thinking(&mut self)
fn print_stream_start(&mut self, _message_id: &str, agent: &str, model: &Model)
fn print_stream_delta(&mut self, _message_id: &str, text: &str)
fn print_stream_end(&mut self, message: &ChatMessage)
fn print_task_update(&mut self, task_list: &TaskList)
fn clone_box(&self) -> Box<dyn EventFormatter>
fn on_typing_status_changed(&mut self, _typing: bool)
Auto Trait Implementations§
impl Freeze for VerboseFormatter
impl RefUnwindSafe for VerboseFormatter
impl Send for VerboseFormatter
impl Sync for VerboseFormatter
impl Unpin for VerboseFormatter
impl UnwindSafe for VerboseFormatter
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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 moreCreates a shared type from an unshared type.