[][src]Struct new_tokio_smtp::command::Data

pub struct Data<S> { /* fields omitted */ }

Implementations

impl<BF> Data<Once<BF, Error>> where
    BF: Buf
[src]

pub fn from_buf<B: IntoBuf<Buf = BF>>(buf: B) -> Self[src]

impl<S> Data<S> where
    S: Stream<Error = Error>,
    S::Item: Buf
[src]

pub fn new(source: S) -> Self[src]

Trait Implementations

impl<S: 'static> Cmd for Data<S> where
    S: Stream<Error = Error> + Send,
    S::Item: Buf
[src]

Auto Trait Implementations

impl<S> RefUnwindSafe for Data<S> where
    S: RefUnwindSafe

impl<S> Send for Data<S> where
    S: Send

impl<S> Sync for Data<S> where
    S: Sync

impl<S> Unpin for Data<S> where
    S: Unpin

impl<S> UnwindSafe for Data<S> where
    S: UnwindSafe

Blanket Implementations

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

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, 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.