Trait lettre::Transport

source ·
pub trait Transport<'a> {
    type Result;

    fn send(&mut self, email: SendableEmail) -> Self::Result;
}
Expand description

Transport method for emails

Required Associated Types

Result type for the transport

Required Methods

Sends the email

Implementors