Struct futures_util::sink::Flush[][src]

#[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]

Formats the value using the given formatter. Read more

impl<'a, Si: Unpin + ?Sized> Unpin for Flush<'a, Si>
[src]

impl<'a, Si: Sink + Unpin + ?Sized> Future for Flush<'a, Si>
[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> Send for Flush<'a, Si> where
    Si: Send

impl<'a, Si: ?Sized> Sync for Flush<'a, Si> where
    Si: Sync