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 Vec<Arc<dyn Parser + 'static + Send + Sync>, 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]
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 LmtpParserPeg
[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 SmtpParserPeg
[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>