pub fn close(&mut self) {
        if let Some(inner) = &mut self.inner {
            inner.set_closed();
            inner.sender_task.borrow_mut().notify();
        }
    }
/// Closes the receiving half of a channel, without dropping it.
///
/// This prevents any further messages from being sent on the channel while
/// still enabling the receiver to drain messages that are buffered.
Closes the receiving half of a channel, without dropping it.
This prevents any further messages from being sent on the channel while
still enabling the receiver to drain messages that are buffered.
Closes the receiving half of a channel without dropping it . This prevents any further messages from being sent on the channel while still enabling the receiver to drain messages that are buffered .
pub fn close(&mut self) {
        if let Some(inner) = &mut self.inner {
            inner.set_closed();
            inner.sender_task.borrow_mut().notify();
        }
    }
pub fn close ( & mut self ) { if let Some ( inner ) = & mut self . inner { inner . set_closed ( ) ; inner . sender_task . borrow_mut ( ) . notify ( ) ; } }
Closes the receiving half of a channel, without dropping it.
Closes the receiving half of a channel without dropping it .
&mut self