pub trait ParserPart {
// Required methods
fn parse_error_code(&self) -> usize;
fn expected_format(&self) -> Option<Cow<'static, str>>;
}Required Methods§
fn parse_error_code(&self) -> usize
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".