pub trait LogDialect: Send + Sync {
// Required method
fn parse<'a>(&self, line: &'a [u8]) -> ParsedLine<'a>;
// Provided methods
fn is_step_start(&self, _line: &ParsedLine<'_>) -> bool { ... }
fn infers_errors(&self) -> bool { ... }
}Required Methods§
fn parse<'a>(&self, line: &'a [u8]) -> ParsedLine<'a>
Provided Methods§
fn is_step_start(&self, _line: &ParsedLine<'_>) -> bool
fn infers_errors(&self) -> bool
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".