pub trait EmailProvider: Send + Sync {
// Required method
fn send_code<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
email: &'life1 str,
code: &'life2 str,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait;
}
Expand description
Email provider for sending verification codes