Skip to main content

ParserPart

Trait ParserPart 

Source
pub trait ParserPart {
    // Required methods
    fn parse_error_code(&self) -> usize;
    fn expected_format(&self) -> Option<Cow<'static, str>>;
}

Required Methods§

Source

fn parse_error_code(&self) -> usize

Source

fn expected_format(&self) -> Option<Cow<'static, str>>

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§