Struct samotop_core::smtp::Esmtp
source · [−]pub struct Esmtp;
Expand description
An implementation of ESMTP - RFC 5321 - Simple Mail Transfer Protocol
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: SmtpInvalidCommand,
state: &'s mut SmtpContext
) -> S1Fut<'f, ()> where
'a: 'f,
's: 'f,
fn apply<'a, 's, 'f>(
&'a self,
_cmd: SmtpUnknownCommand,
state: &'s mut SmtpContext
) -> S1Fut<'f, ()> where
'a: 'f,
's: 'f,
Auto Trait Implementations
impl RefUnwindSafe for Esmtp
impl UnwindSafe for Esmtp
Blanket Implementations
Mutably borrows from an owned value. Read more