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