[−][src]Struct async_smtp_lite::AsyncSession
Fields
connection: &'a mut AsyncConnection<S, STU>
Implementations
impl<'a, S, STU> AsyncSession<'a, S, STU> where
STU: TlsClientUpgrader<S> + Unpin,
S: AsyncRead + AsyncWrite + Unpin,
STU::Output: AsyncRead + AsyncWrite + Unpin,
[src]
STU: TlsClientUpgrader<S> + Unpin,
S: AsyncRead + AsyncWrite + Unpin,
STU::Output: AsyncRead + AsyncWrite + Unpin,
pub async fn send<'_, '_>(
&'_ mut self,
message: &'_ Message
) -> Result<(), Error>
[src]
&'_ mut self,
message: &'_ Message
) -> Result<(), Error>
pub async fn send_raw<'_, '_, '_>(
&'_ mut self,
envelope: &'_ Envelope,
email: &'_ [u8]
) -> Result<(), Error>
[src]
&'_ mut self,
envelope: &'_ Envelope,
email: &'_ [u8]
) -> Result<(), Error>
Auto Trait Implementations
impl<'a, S, STU> RefUnwindSafe for AsyncSession<'a, S, STU> where
S: RefUnwindSafe,
STU: RefUnwindSafe,
<STU as Upgrader<S>>::Output: RefUnwindSafe,
S: RefUnwindSafe,
STU: RefUnwindSafe,
<STU as Upgrader<S>>::Output: RefUnwindSafe,
impl<'a, S, STU> Send for AsyncSession<'a, S, STU> where
S: Send,
STU: Send,
<STU as Upgrader<S>>::Output: Send,
S: Send,
STU: Send,
<STU as Upgrader<S>>::Output: Send,
impl<'a, S, STU> Sync for AsyncSession<'a, S, STU> where
S: Sync,
STU: Sync,
<STU as Upgrader<S>>::Output: Sync,
S: Sync,
STU: Sync,
<STU as Upgrader<S>>::Output: Sync,
impl<'a, S, STU> Unpin for AsyncSession<'a, S, STU>
impl<'a, S, STU> !UnwindSafe for AsyncSession<'a, S, STU>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,