pub trait Sink<D> {
type Error: Error + Send + Sync + 'static;
// Required method
fn add_match(&mut self, data: D) -> Result<(), Self::Error>;
}Expand description
Output sink consuming matches of the type D.
pub trait Sink<D> {
type Error: Error + Send + Sync + 'static;
// Required method
fn add_match(&mut self, data: D) -> Result<(), Self::Error>;
}Output sink consuming matches of the type D.