pub trait CmdlineParse<'a>
where Self: Sized,
{ // Required method fn parse_cmdline( tokenizer: &mut Tokenizer<'a> ) -> Result<Self, ParseError<'a>>; }

Required Methods§

source

fn parse_cmdline(tokenizer: &mut Tokenizer<'a>) -> Result<Self, ParseError<'a>>

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl<'a> CmdlineParse<'a> for &'a str

source§

fn parse_cmdline(tokenizer: &mut Tokenizer<'a>) -> Result<Self, ParseError<'a>>

source§

impl<'a> CmdlineParse<'a> for bool

source§

fn parse_cmdline(tokenizer: &mut Tokenizer<'a>) -> Result<Self, ParseError<'a>>

source§

impl<'a> CmdlineParse<'a> for u32

source§

fn parse_cmdline(tokenizer: &mut Tokenizer<'a>) -> Result<Self, ParseError<'a>>

Implementors§

source§

impl<'a> CmdlineParse<'a> for LogAml

source§

impl<'a> CmdlineParse<'a> for LogLevel

source§

impl<'a> CmdlineParse<'a> for Cmd<'a>