Trait samotop_core::parser::Parser[][src]

pub trait Parser: Debug {
    fn parse_command<'i>(
        &self,
        input: &'i [u8]
    ) -> ParseResult<'i, Box<dyn SmtpSessionCommand>>; }

Required methods

fn parse_command<'i>(
    &self,
    input: &'i [u8]
) -> ParseResult<'i, Box<dyn SmtpSessionCommand>>
[src]

Loading content...

Implementations on Foreign Types

impl Parser for Vec<Arc<dyn Parser + Sync + Send>>[src]

Loading content...

Implementors

impl Parser for DummyParser[src]

impl<T> Parser for Arc<T> where
    T: Parser
[src]

Loading content...