pub struct ConsoleEmailProvider;Expand description
Development email provider that logs emails to stderr.
Useful for local development and testing — no external dependencies.
Trait Implementations§
Source§impl EmailProvider for ConsoleEmailProvider
impl EmailProvider for ConsoleEmailProvider
Source§fn send<'life0, 'life1, 'life2, 'life3, 'life4, 'async_trait>(
&'life0 self,
to: &'life1 str,
subject: &'life2 str,
_html: &'life3 str,
text: &'life4 str,
) -> Pin<Box<dyn Future<Output = AuthResult<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
'life4: 'async_trait,
fn send<'life0, 'life1, 'life2, 'life3, 'life4, 'async_trait>(
&'life0 self,
to: &'life1 str,
subject: &'life2 str,
_html: &'life3 str,
text: &'life4 str,
) -> Pin<Box<dyn Future<Output = AuthResult<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
'life4: 'async_trait,
Send an email. Read more
Auto Trait Implementations§
impl Freeze for ConsoleEmailProvider
impl RefUnwindSafe for ConsoleEmailProvider
impl Send for ConsoleEmailProvider
impl Sync for ConsoleEmailProvider
impl Unpin for ConsoleEmailProvider
impl UnwindSafe for ConsoleEmailProvider
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more