mod console;
pub use console::ConsoleOutput;
use anyhow::Result;
use crate::derive::DerivedKey;
use crate::matcher::MatchInfo;
pub trait Output: Send + Sync {
fn key(&self, source: &str, transform: &str, derived: &DerivedKey) -> Result<()>;
fn hit(&self, source: &str, transform: &str, derived: &DerivedKey, match_info: &MatchInfo) -> Result<()>;
fn flush(&self) -> Result<()>;
}