pub trait Read<'input, Input: PrintError>: Sized {
// Required method
fn parse(&self, input: &'input [Input]) -> Result<Self, String>;
}Expand description
Read a series of items (of generic type Input) into this type.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.