[][src]Enum async_smtp::Message

pub enum Message {
    Reader(Box<dyn Read + Send + Sync>),
    Bytes(Cursor<Vec<u8>>),
}

Variants

Reader(Box<dyn Read + Send + Sync>)
Bytes(Cursor<Vec<u8>>)

Trait Implementations

impl AsyncRead for Message[src]

impl PinnedDrop for Message[src]

impl<'pin> Unpin for Message where
    __Message<'pin>: Unpin
[src]

impl UnsafeUnpin for Message[src]

Auto Trait Implementations

impl !RefUnwindSafe for Message

impl Send for Message

impl Sync for Message

impl !UnwindSafe for Message

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<R> AsyncReadExt for R where
    R: AsyncRead + ?Sized
[src]

impl<R> AsyncReadExt for R where
    R: AsyncRead + ?Sized

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ReadExt for T where
    T: AsyncRead + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.