pub enum EmailTransport<'a> {
Smtp(&'a SmtpConfig),
Ses(&'a SesConfig),
}Expand description
How an EmailConfig sends.
Variants§
Smtp(&'a SmtpConfig)
Ses(&'a SesConfig)
Auto Trait Implementations§
impl<'a> Freeze for EmailTransport<'a>
impl<'a> RefUnwindSafe for EmailTransport<'a>
impl<'a> Send for EmailTransport<'a>
impl<'a> Sync for EmailTransport<'a>
impl<'a> Unpin for EmailTransport<'a>
impl<'a> UnsafeUnpin for EmailTransport<'a>
impl<'a> UnwindSafe for EmailTransport<'a>
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