pub struct ProgressFilter;Expand description
Detects and collapses progress bars, spinners, and download indicators. These are purely visual feedback – an LLM needs only the final state.
Trait Implementations§
Source§impl Filter for ProgressFilter
impl Filter for ProgressFilter
Source§fn filter_block(&self, lines: &[String]) -> Vec<String>
fn filter_block(&self, lines: &[String]) -> Vec<String>
Collapse consecutive progress lines into a single summary. e.g., 50 lines of “Downloading… X%” become “[progress: Downloading]”
Source§fn filter_line(&self, line: &str) -> FilterResult
fn filter_line(&self, line: &str) -> FilterResult
Filter a single line. Return
Uncertain when unsure.Auto Trait Implementations§
impl Freeze for ProgressFilter
impl RefUnwindSafe for ProgressFilter
impl Send for ProgressFilter
impl Sync for ProgressFilter
impl Unpin for ProgressFilter
impl UnsafeUnpin for ProgressFilter
impl UnwindSafe for ProgressFilter
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