Trait smtp_queue::TransportSender
source · [−]pub trait TransportSender<U>: 'static + Send {
fn send<'life0, 'life1, 'async_trait, Reader>(
&'life0 mut self,
meta: &'life1 MailMetadata<U>,
mail: Reader
) -> Pin<Box<dyn Future<Output = Result<(), TransportFailure>> + Send + 'async_trait>>
where
Reader: Send + AsyncRead,
Reader: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait;
}