#[must_use = "futures do nothing unless polled"]
pub struct Flush<S> { /* fields omitted */ }
Future for the flush
combinator, which polls the sink until all data
has been flushed.
Get a shared reference to the inner sink.
Returns None
if the sink has already been flushed.
Get a mutable reference to the inner sink.
Returns None
if the sink has already been flushed.
Consume the Flush
and return the inner sink.
Returns None
if the sink has already been flushed.
Formats the value using the given formatter. Read more
type Item = S
Attempt to resolve the future to a final value, registering the current task for wakeup if the value is not yet available. Read more