Enum samotop_core::smtp::command::SmtpCommand
source · [−]pub enum SmtpCommand {
Helo(SmtpHelo),
Mail(SmtpMail),
Rcpt(SmtpRcpt),
Expn(String),
Vrfy(String),
Help(Vec<String>),
Noop(Vec<String>),
Quit,
Rset,
Data,
Turn,
Other(String, Vec<String>),
}
Variants
Helo(SmtpHelo)
Mail(SmtpMail)
Rcpt(SmtpRcpt)
Expn(String)
Vrfy(String)
Help(Vec<String>)
Noop(Vec<String>)
Quit
Rset
Data
Turn
Other(String, Vec<String>)
Command outside of the base implementation. First string is the command verb, next the parameters
Implementations
Trait Implementations
fn apply<'a, 's, 'f>(
&'a self,
cmd: SmtpCommand,
state: &'s mut SmtpContext
) -> S1Fut<'f, ()> where
'a: 'f,
's: 'f,
fn apply<'a, 's, 'f>(
&'a self,
cmd: SmtpCommand,
state: &'s mut SmtpContext
) -> S1Fut<'f, ()> where
'a: 'f,
's: 'f,
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for SmtpCommand
impl Send for SmtpCommand
impl Sync for SmtpCommand
impl Unpin for SmtpCommand
impl UnwindSafe for SmtpCommand
Blanket Implementations
Mutably borrows from an owned value. Read more