pub trait FromRaw<'a>: Sized {
// Required method
fn parse(raw: RawCommand<'a>) -> Result<Self, ParseError<'a>>;
}Required Methods§
Sourcefn parse(raw: RawCommand<'a>) -> Result<Self, ParseError<'a>>
fn parse(raw: RawCommand<'a>) -> Result<Self, ParseError<'a>>
Parse raw command into typed command
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.