pub trait LineParser {
type Event;
type Error: ClassifiedParserError;
// Required methods
fn reset(&mut self);
fn parse_line(
&mut self,
input: LineInput<'_>,
) -> Result<Option<Self::Event>, Self::Error>;
}Required Associated Types§
type Event
type Error: ClassifiedParserError
Required Methods§
fn reset(&mut self)
fn parse_line( &mut self, input: LineInput<'_>, ) -> Result<Option<Self::Event>, Self::Error>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".