pub struct ErasedFmt { /* private fields */ }Expand description
Type-erased formatter captured at tool registration time.
This stores an optional formatting function that will be called at runtime
to produce human-readable text from tool output. If None, the registry
falls back to pretty-printed JSON.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ErasedFmt
impl RefUnwindSafe for ErasedFmt
impl Send for ErasedFmt
impl Sync for ErasedFmt
impl Unpin for ErasedFmt
impl UnwindSafe for ErasedFmt
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