Skip to main content

LogDialect

Trait LogDialect 

Source
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§

Source

fn parse<'a>(&self, line: &'a [u8]) -> ParsedLine<'a>

Provided Methods§

Source

fn is_step_start(&self, _line: &ParsedLine<'_>) -> bool

Source

fn infers_errors(&self) -> bool

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§