pub trait OutputFilter: Send + Sync {
// Required methods
fn name(&self) -> &'static str;
fn matcher(&self) -> &CommandMatcher;
fn filter(
&self,
command: &str,
raw_output: &str,
exit_code: i32,
) -> FilterResult;
}Expand description
Command-aware output filter.