[−][src]Struct futures_util::sink::Flush
#[must_use = "futures do nothing unless polled"]pub struct Flush<'a, Si: 'a + Unpin + ?Sized> { /* fields omitted */ }
Future for the flush
combinator, which polls the sink until all data
has been flushed.
Trait Implementations
impl<'a, Si: Debug + 'a + Unpin + ?Sized> Debug for Flush<'a, Si>
[src]
impl<'a, Si: Debug + 'a + Unpin + ?Sized> Debug for Flush<'a, Si>
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: Unpin + ?Sized, '_> Unpin for Flush<'_, Si>
[src]
impl<Si: Unpin + ?Sized, '_> Unpin for Flush<'_, Si>
impl<Si: Sink + Unpin + ?Sized, '_> Future for Flush<'_, Si>
[src]
impl<Si: Sink + Unpin + ?Sized, '_> Future for Flush<'_, Si>
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