pub trait Parse {
// Required method
fn parse(input: &str) -> Result<Self, MessageParseError>
where Self: Sized;
}Expand description
A trait for types that can be directly parsed from a string input, regardless of context.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".