FromRaw

Trait FromRaw 

Source
pub trait FromRaw<'a>: Sized {
    // Required method
    fn parse(raw: RawCommand<'a>) -> Result<Self, ParseError<'a>>;
}

Required Methods§

Source

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.

Implementors§

Source§

impl<'a> FromRaw<'a> for RawCommand<'a>