fn close(&mut self) -> Close<'_, Self>
    where
        Self: Unpin,
    {
        assert_future::<Result<()>, _>(Close::new(self))
    }
Creates a future which will entirely close this `AsyncWrite`.
futures-util/src/io/mod.rs