Trait samotop_parser::Parser [−][src]
Required methods
pub fn parse_command(
&self,
input: &'i [u8]
) -> Result<(&'i [u8], Box<dyn SmtpSessionCommand + 'static, Global>), ParseError>[src]
&self,
input: &'i [u8]
) -> Result<(&'i [u8], Box<dyn SmtpSessionCommand + 'static, Global>), ParseError>
Implementations on Foreign Types
impl<T> Parser for Arc<T> where
T: Parser, [src]
T: Parser,
pub fn parse_command(
&self,
input: &'i [u8]
) -> Result<(&'i [u8], Box<dyn SmtpSessionCommand + 'static, Global>), ParseError>[src]
&self,
input: &'i [u8]
) -> Result<(&'i [u8], Box<dyn SmtpSessionCommand + 'static, Global>), ParseError>
impl Parser for DummyParser[src]
pub fn parse_command(
&self,
input: &'i [u8]
) -> Result<(&'i [u8], Box<dyn SmtpSessionCommand + 'static, Global>), ParseError>[src]
&self,
input: &'i [u8]
) -> Result<(&'i [u8], Box<dyn SmtpSessionCommand + 'static, Global>), ParseError>
impl Parser for Vec<Arc<dyn Parser + 'static + Sync + Send>, Global>[src]
pub fn parse_command(
&self,
input: &'i [u8]
) -> Result<(&'i [u8], Box<dyn SmtpSessionCommand + 'static, Global>), ParseError>[src]
&self,
input: &'i [u8]
) -> Result<(&'i [u8], Box<dyn SmtpSessionCommand + 'static, Global>), ParseError>
Implementors
impl Parser for DataParserPeg[src]
fn parse_command<'i>(
&self,
input: &'i [u8]
) -> ParseResult<'i, Box<dyn SmtpSessionCommand>>[src]
&self,
input: &'i [u8]
) -> ParseResult<'i, Box<dyn SmtpSessionCommand>>
impl Parser for LmtpParserPeg[src]
fn parse_command<'i>(
&self,
input: &'i [u8]
) -> ParseResult<'i, Box<dyn SmtpSessionCommand>>[src]
&self,
input: &'i [u8]
) -> ParseResult<'i, Box<dyn SmtpSessionCommand>>
impl Parser for SmtpParserPeg[src]
fn parse_command<'i>(
&self,
input: &'i [u8]
) -> ParseResult<'i, Box<dyn SmtpSessionCommand>>[src]
&self,
input: &'i [u8]
) -> ParseResult<'i, Box<dyn SmtpSessionCommand>>