Struct futures_util::sink::SendAll [] [src]

#[must_use = "futures do nothing unless polled"]
pub struct SendAll<T, U: Stream> { /* fields omitted */ }

Future for the Sink::send_all combinator, which sends a stream of values to a sink and then waits until the sink has fully flushed those values.

Trait Implementations

impl<T: Debug, U: Debug + Stream> Debug for SendAll<T, U> where
    U::Item: Debug
[src]

[src]

Formats the value using the given formatter. Read more

impl<T, U> Future for SendAll<T, U> where
    T: Sink,
    U: Stream<Item = T::SinkItem>,
    T::SinkError: From<U::Error>, 
[src]

A successful value

An error

[src]

Attempt to resolve the future to a final value, registering the current task for wakeup if the value is not yet available. Read more

Auto Trait Implementations

impl<T, U> Send for SendAll<T, U> where
    T: Send,
    U: Send,
    <U as Stream>::Item: Send

impl<T, U> Sync for SendAll<T, U> where
    T: Sync,
    U: Sync,
    <U as Stream>::Item: Sync