pub fn receive(&self) -> ChannelReceiveFuture<T> {
        ChannelReceiveFuture {
            channel: Some(self),
            wait_node: ListNode::new(RecvWaitQueueEntry::new()),
        }
    }
/// 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<T> {
        ChannelReceiveFuture {
            channel: Some(self),
            wait_node: ListNode::new(RecvWaitQueueEntry::new()),
        }
    }
pub fn receive ( & self ) -> ChannelReceiveFuture < T > { ChannelReceiveFuture { channel : Some ( self ) , wait_node : ListNode :: new ( RecvWaitQueueEntry :: new ( ) ) , } }
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