Skip to main content

EventSource

Trait EventSource 

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

Required Methods§

Implementors§