pub fn send(&self, value: T) -> ChannelSendFuture<MutexType, T> {
                ChannelSendFuture {
                    channel: Some(self.inner.clone()),
                    wait_node: ListNode::new(SendWaitQueueEntry::new(value)),
                    _phantom: PhantomData,
                }
            }
/// 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<MutexType, T> {
                ChannelSendFuture {
                    channel: Some(self.inner.clone()),
                    wait_node: ListNode::new(SendWaitQueueEntry::new(value)),
                    _phantom: PhantomData,
                }
            }
pub fn send ( & self , value : T ) -> ChannelSendFuture < MutexType , T > { ChannelSendFuture { channel : Some ( self . inner . clone ( ) ) , wait_node : ListNode :: new ( SendWaitQueueEntry :: new ( value ) ) , _phantom : PhantomData , } }
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