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

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

Formats the value using the given formatter. Read more

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

impl<Si: ?Sized, St: ?Sized, '_> Future for SendAll<'_, Si, St> where
    Si: Sink + Unpin,
    St: Stream<Item = Si::SinkItem> + Unpin
[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