pub fn cancellation(&mut self) -> Cancellation<'_, T> {
        Cancellation { inner: self }
    }
Creates a future that resolves when this `Sender`'s corresponding
[`Receiver`] half has hung up.

This is a utility wrapping [`poll_canceled`](Sender::poll_canceled)
to expose a [`Future`].
futures-channel/src/oneshot.rs