pub trait MailSender: Send + Sync {
// Required method
fn send(&self, message: Message) -> BoxFuture<'_, Result<()>>;
}Expand description
Sends one e-mail (SMTP in production, a recorder in tests).
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".