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

#[must_use = "futures do nothing unless polled"]
pub struct SendAll<'a, Si, St> where
    Si: Sink + Unpin + 'a + ?Sized,
    St: Stream + Unpin + 'a + ?Sized
{ /* 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<'a, Si, St> Unpin for SendAll<'a, Si, St> where
    Si: Sink + Unpin + 'a + ?Sized,
    St: Stream + Unpin + 'a + ?Sized
[src]

impl<'a, Si, St> Debug for SendAll<'a, Si, St> where
    Si: Debug + Sink + Unpin + 'a + ?Sized,
    St: Debug + Stream + Unpin + 'a + ?Sized,
    <Si as Sink>::SinkItem: Debug
[src]

Formats the value using the given formatter. Read more

impl<'a, Si, St> Future for SendAll<'a, Si, St> where
    Si: Unpin + 'a + Sink + ?Sized,
    St: Stream<Item = <Si as Sink>::SinkItem> + Unpin + 'a + ?Sized
[src]

🔬 This is a nightly-only experimental API. (futures_api)

futures in libcore are unstable

The result of the Future.

🔬 This is a nightly-only experimental API. (futures_api)

futures in libcore are unstable

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<'a, Si: ?Sized, St: ?Sized> Send for SendAll<'a, Si, St> where
    Si: Send,
    St: Send,
    <Si as Sink>::SinkItem: Send

impl<'a, Si: ?Sized, St: ?Sized> Sync for SendAll<'a, Si, St> where
    Si: Sync,
    St: Sync,
    <Si as Sink>::SinkItem: Sync