pub struct ResultHandlerConfig {
pub max_size_bytes: usize,
pub truncate_enabled: bool,
}Expand description
Configuration for result handling
Fields§
§max_size_bytes: usizeMaximum size in bytes for tool results
truncate_enabled: boolWhether to truncate large results (true) or replace with warning (false)
Trait Implementations§
Source§impl Clone for ResultHandlerConfig
impl Clone for ResultHandlerConfig
Source§fn clone(&self) -> ResultHandlerConfig
fn clone(&self) -> ResultHandlerConfig
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 Debug for ResultHandlerConfig
impl Debug for ResultHandlerConfig
Auto Trait Implementations§
impl Freeze for ResultHandlerConfig
impl RefUnwindSafe for ResultHandlerConfig
impl Send for ResultHandlerConfig
impl Sync for ResultHandlerConfig
impl Unpin for ResultHandlerConfig
impl UnsafeUnpin for ResultHandlerConfig
impl UnwindSafe for ResultHandlerConfig
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