Trait smtp_queue::StorageEnqueuer
source · [−]pub trait StorageEnqueuer<U, S, QueuedMail>: Send + AsyncWrite where
S: ?Sized + Storage<U>, {
fn commit<'async_trait>(
self,
destinations: Vec<(MailMetadata<U>, ScheduleInfo)>
) -> Pin<Box<dyn Future<Output = Result<Vec<QueuedMail>, S::Error>> + Send + 'async_trait>>
where
Self: 'async_trait;
}