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

Object Safety§

This trait is not object safe.

Implementors§

source§

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