Struct samotop_core::common::Dummy
source · [−]pub struct Dummy;
Trait Implementations
fn apply<'a, 's, 'f>(
&'a self,
_cmd: CMD,
_state: &'s mut SmtpContext
) -> S1Fut<'f, ()> where
'a: 'f,
's: 'f,
Attempt to read from the AsyncRead
into buf
. Read more
fn interpret<'a, 'i, 's, 'f>(
&'a self,
_state: &'s mut SmtpContext
) -> S1Fut<'f, InterpretResult> where
'a: 'f,
's: 'f,
fn open_mail_body<'a, 's, 'f>(
&'a self,
session: &'s mut SmtpSession
) -> S1Fut<'f, DispatchResult> where
'a: 'f,
's: 'f,
fn open_mail_body<'a, 's, 'f>(
&'a self,
session: &'s mut SmtpSession
) -> S1Fut<'f, DispatchResult> where
'a: 'f,
's: 'f,
Succeeds if the sink is already set, otherwise fails
fn add_recipient<'a, 's, 'f>(
&'a self,
_session: &'s mut SmtpSession,
rcpt: Recipient
) -> S2Fut<'f, AddRecipientResult> where
'a: 'f,
's: 'f,
fn add_recipient<'a, 's, 'f>(
&'a self,
_session: &'s mut SmtpSession,
rcpt: Recipient
) -> S2Fut<'f, AddRecipientResult> where
'a: 'f,
's: 'f,
Always inconclusive
fn start_mail<'a, 's, 'f>(
&'a self,
_session: &'s mut SmtpSession
) -> S2Fut<'f, StartMailResult> where
'a: 'f,
's: 'f,
fn start_mail<'a, 's, 'f>(
&'a self,
_session: &'s mut SmtpSession
) -> S2Fut<'f, StartMailResult> where
'a: 'f,
's: 'f,
Always accept
Initiates the TLS negotiations. The stream must then block all reads/writes until the underlying TLS handshake is done. If it is not possible to encrypt and subsequent reads/writes must fail. Read more
Returns true only if calling encrypt would make sense: Read more
Returns true if the stream is already encrypted.
fn prepare_session<'a, 'i, 's, 'f>(
&'a self,
_io: &'i mut Box<dyn MayBeTls>,
_state: &'s mut SmtpContext
) -> S1Fut<'f, ()> where
'a: 'f,
'i: 'f,
's: 'f,
Auto Trait Implementations
impl RefUnwindSafe for Dummy
impl UnwindSafe for Dummy
Blanket Implementations
Mutably borrows from an owned value. Read more