pub fn close_channel(&self) {
        if let Some(inner) = &self.0 {
            inner.close_channel();
        }
    }
Closes this channel from the sender side, preventing any new messages.
futures-channel/src/mpsc/mod.rs