Trait lettre::Transport [−][src]
pub trait Transport<'a> { type Result; fn send(&mut self, email: SendableEmail) -> Self::Result; }
Expand description
Transport method for emails
Associated Types
Required methods
fn send(&mut self, email: SendableEmail) -> Self::Result
[src]
fn send(&mut self, email: SendableEmail) -> Self::Result
[src]Sends the email
Implementors
impl<'a> Transport<'a> for FileTransport
[src]
impl<'a> Transport<'a> for FileTransport
[src]impl<'a> Transport<'a> for SendmailTransport
[src]
impl<'a> Transport<'a> for SendmailTransport
[src]impl<'a> Transport<'a> for SmtpTransport
[src]
impl<'a> Transport<'a> for SmtpTransport
[src]fn send(&mut self, email: SendableEmail) -> SmtpResult
[src]
fn send(&mut self, email: SendableEmail) -> SmtpResult
[src]Sends an email
type Result = SmtpResult
impl<'a> Transport<'a> for StubTransport
[src]
impl<'a> Transport<'a> for StubTransport
[src]