pub trait Parser {
// Required method
fn parse(&self, raw: &[u8]) -> Result<Event, PipelineError>;
}Expand description
Parsers: convert raw bytes to Event with explicit error handling. Best effort syslog, zero copy where possible, no implicit recovery.