pub trait OutboundMail: Send + Sync {
// Required method
fn send<'life0, 'life1, 'async_trait>(
&'life0 self,
reply: &'life1 OutboundReply,
) -> Pin<Box<dyn Future<Output = Result<(), SendError>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
}Expand description
Outbound-mail transport, seamed behind a trait so a caller can test against an in-memory double instead of a live Connect client.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".