Function futures::sink::close [] [src]

pub fn close<S>(sink: S) -> Close<S> where
    S: Sink

A future that completes when the sink has finished closing.

The sink itself is returned after closeing is complete.