pub trait Action<CMD> {
    fn apply<'a, 's, 'f>(
        &'a self,
        cmd: CMD,
        state: &'s mut SmtpContext
    ) -> S1Fut<'f, ()>
    where
        'a: 'f,
        's: 'f
; }
Expand description

An action modifies the SMTP state based on some command

Required methods

Implementors