Trait samotop_parser::Parser[][src]

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

Required methods

pub fn parse_command(
    &self,
    input: &'i [u8]
) -> Result<(&'i [u8], Box<dyn SmtpSessionCommand + 'static, Global>), ParseError>
[src]

Loading content...

Implementations on Foreign Types

impl Parser for DummyParser[src]

impl Parser for Vec<Arc<dyn Parser + 'static + Send + Sync>, Global>[src]

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

Loading content...

Implementors

impl Parser for DataParserPeg[src]

impl Parser for LmtpParserPeg[src]

impl Parser for SmtpParserPeg[src]

Loading content...