[−][src]Trait samotop_core::service::mail::MailQueue
A mail queue allows us to queue an e-mail. For a given mail envelope it produces a Sink that can receive mail data. Once the sink is closed successfully, the mail is queued.
Associated Types
Loading content...Required methods
fn mail(&self, envelope: Envelope) -> Self::MailFuture
Implementors
impl MailQueue for DefaultMailService
[src]
type Mail = MailSink
type MailFuture = Ready<Option<Self::Mail>>
fn mail(&self, envelope: Envelope) -> Self::MailFuture
[src]
impl<NS, ES, GS, QS> MailQueue for CompositeMailService<NS, ES, GS, QS> where
NS: NamedService,
ES: EsmtpService,
GS: MailGuard,
QS: MailQueue,
[src]
NS: NamedService,
ES: EsmtpService,
GS: MailGuard,
QS: MailQueue,
type Mail = QS::Mail
type MailFuture = QS::MailFuture
fn mail(&self, envelope: Envelope) -> Self::MailFuture
[src]
impl<T> MailQueue for Arc<T> where
T: MailQueue,
[src]
T: MailQueue,