Trait samotop_core::smtp::Drive
source · [−]pub trait Drive: Debug {
fn drive<'a, 'i, 'x, 's, 'f>(
&'a self,
io: &'i mut Box<dyn MayBeTls>,
interpretter: &'x (dyn Interpret + Send + Sync),
state: &'s mut SmtpContext
) -> S1Fut<'f, Result<(), DriverError>>
where
'a: 'f,
'i: 'f,
'x: 'f,
's: 'f;
}