pub struct ToolErrorEntry {
pub tool_name: String,
pub error_key: String,
pub count: usize,
pub last_occurrence: Instant,
}Expand description
A tool error entry for tracking repeated errors.
Fields§
§tool_name: StringTool name that failed
error_key: StringError message (truncated for comparison)
count: usizeNumber of times this error occurred
last_occurrence: InstantLast occurrence timestamp (for aging)
Implementations§
Trait Implementations§
Source§impl Clone for ToolErrorEntry
impl Clone for ToolErrorEntry
Source§fn clone(&self) -> ToolErrorEntry
fn clone(&self) -> ToolErrorEntry
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ToolErrorEntry
impl RefUnwindSafe for ToolErrorEntry
impl Send for ToolErrorEntry
impl Sync for ToolErrorEntry
impl Unpin for ToolErrorEntry
impl UnsafeUnpin for ToolErrorEntry
impl UnwindSafe for ToolErrorEntry
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