pub trait CommandParserFn: GetCommandPrefix + CommandNameParserFn + CommandSubjectParserFn + CommandPropertyParserFn {
    // Provided method
    fn command_fn(&self) -> Box<dyn Fn(&str) -> IResult<&str, RawCommand> + '_> { ... }
}
Expand description

Can be used as function to parse a Command

Provided Methods§

source

fn command_fn(&self) -> Box<dyn Fn(&str) -> IResult<&str, RawCommand> + '_>

Returns function that can parse a Command

Object Safety§

This trait is not object safe.

Implementors§