pub fn receive(&self) -> ChannelReceiveFuture<MutexType, T> {
                ChannelReceiveFuture {
                    channel: Some(self.inner.clone()),
                    wait_node: ListNode::new(RecvWaitQueueEntry::new()),
                    _phantom: PhantomData,
                }
            }
/// Returns a future that gets fulfilled when a value is written to the channel.
/// If the channels gets closed, the future will resolve to `None`.
Returns a future that gets fulfilled when a value is written to the channel.
If the channels gets closed, the future will resolve to `None`.
Returns a future that gets fulfilled when a value is written to the channel . If the channels gets closed the future will resolve to ` None ` .
pub fn receive(&self) -> ChannelReceiveFuture<MutexType, T> {
                ChannelReceiveFuture {
                    channel: Some(self.inner.clone()),
                    wait_node: ListNode::new(RecvWaitQueueEntry::new()),
                    _phantom: PhantomData,
                }
            }
pub fn receive ( & self ) -> ChannelReceiveFuture < MutexType , T > { ChannelReceiveFuture { channel : Some ( self . inner . clone ( ) ) , wait_node : ListNode :: new ( RecvWaitQueueEntry :: new ( ) ) , _phantom : PhantomData , } }
Returns a future that gets fulfilled when a value is written to the channel.
Returns a future that gets fulfilled when a value is written to the channel .
&self
&self