Lines Matching refs:try_send
34 tx.try_send(2).unwrap(); in send_recv_with_buffer()
125 assert_ok!(tx1.try_send(())); in start_send_past_cap()
213 assert!(tx.clone().try_send(NoImpls).is_ok()); in no_t_bounds_buffer()
255 assert_err!(tx.try_send(1337)); in send_recv_buffer_limited()
313 tx.try_send("hello").unwrap(); in try_send_fail()
316 match assert_err!(tx.try_send("fail")) { in try_send_fail()
323 assert_ok!(tx.try_send("goodbye")); in try_send_fail()
376 assert_ok!(tx.try_send(msg.clone())); in dropping_rx_closes_channel()
388 tx.try_send(msg.clone()).unwrap(); in dropping_rx_closes_channel_for_try()
393 let err = assert_err!(tx.try_send(msg.clone())); in dropping_rx_closes_channel_for_try()
409 tx.try_send(msg.clone()).unwrap(); in unconsumed_messages_are_dropped()