pub trait EventSource {
// Required methods
fn source_name(&self) -> &str;
fn format(&self) -> InputFormat;
fn next_event(&mut self) -> Result<Option<ParseEvent>, ValidatorError>;
}pub trait EventSource {
// Required methods
fn source_name(&self) -> &str;
fn format(&self) -> InputFormat;
fn next_event(&mut self) -> Result<Option<ParseEvent>, ValidatorError>;
}