#[must_use = "futures do nothing unless polled"]
pub struct Close<S> { /* fields omitted */ }
Future for the close
combinator, which polls the sink until all data has
been closed.
Get a shared reference to the inner sink.
Returns None
if the sink has already been closed.
Get a mutable reference to the inner sink.
Returns None
if the sink has already been closed.
Consume the Close
and return the inner sink.
Returns None
if the sink has already been closed.
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