Struct futures::sink::SendAll [] [src]

#[must_use = "futures do nothing unless polled"]
pub struct SendAll<T, U> where
    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, U> Debug for SendAll<T, U> where
    T: Debug,
    U: Debug + Stream,
    <U as Stream>::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 as Sink>::SinkItem>,
    <T as Sink>::SinkError: From<<U as Stream>::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