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