pub fn send(&self, value: T) -> ChannelSendFuture<T> {
                ChannelSendFuture {
                    channel: Some(self.inner.clone()),
                    wait_node: ListNode::new(SendWaitQueueEntry::new(value)),
                }
            }
/// Returns a future that gets fulfilled when the value has been written to
/// the channel.
/// If the channel gets closed while the send is in progress, sending the
/// value will fail, and the future will deliver the value back.
Returns a future that gets fulfilled when the value has been written to
the channel.
If the channel gets closed while the send is in progress, sending the
value will fail, and the future will deliver the value back.
Returns a future that gets fulfilled when the value has been written to the channel . If the channel gets closed while the send is in progress sending the value will fail and the future will deliver the value back .
pub fn send(&self, value: T) -> ChannelSendFuture<T> {
                ChannelSendFuture {
                    channel: Some(self.inner.clone()),
                    wait_node: ListNode::new(SendWaitQueueEntry::new(value)),
                }
            }
pub fn send ( & self , value : T ) -> ChannelSendFuture < T > { ChannelSendFuture { channel : Some ( self . inner . clone ( ) ) , wait_node : ListNode :: new ( SendWaitQueueEntry :: new ( value ) ) , } }
Returns a future that gets fulfilled when the value has been written to
the channel.
Returns a future that gets fulfilled when the value has been written to the channel .
&self
value
T
&self
value
T