Enum vsmtp_common::Stage
pub enum Stage {
Connect,
Helo,
MailFrom,
RcptTo,
Finished,
}Expand description
Stage of the step-by-step SMTP transaction
Variants§
Connect
The client has just connected to the server
Helo
The client has sent the HELO/EHLO command
MailFrom
The client has sent the MAIL FROM command
RcptTo
The client has sent the RCPT TO command
Finished
The client has sent the complete message
Trait Implementations§
§impl Ord for Stage
impl Ord for Stage
§impl PartialOrd<Stage> for Stage
impl PartialOrd<Stage> for Stage
§fn partial_cmp(&self, other: &Stage) -> Option<Ordering>
fn partial_cmp(&self, other: &Stage) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read more