[−][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]
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,
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
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, '_> Unpin for SendAll<'_, Si, St> where
Si: Sink + Unpin,
St: Stream + Unpin,
impl<Si: ?Sized, St: ?Sized, '_> Future for SendAll<'_, Si, St> where
Si: Sink + Unpin,
St: Stream<Item = Si::SinkItem> + Unpin,
[src]
impl<Si: ?Sized, St: ?Sized, '_> Future for SendAll<'_, Si, St> where
Si: Sink + Unpin,
St: Stream<Item = Si::SinkItem> + Unpin,
type Output = Result<(), Si::SinkError>
🔬 This is a nightly-only experimental API. (futures_api
)
futures in libcore are unstable
The result of the Future
.
fn poll(self: PinMut<Self>, cx: &mut Context) -> Poll<Self::Output>
[src]
fn poll(self: PinMut<Self>, cx: &mut Context) -> Poll<Self::Output>
🔬 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