Lines Matching refs:try_send
215 Ok(0) => assert_eq!(s.try_send(0), Err(TrySendError::Disconnected(0))), in default_when_disconnected()
224 Ok(0) => assert_eq!(s.try_send(0), Err(TrySendError::Disconnected(0))), in default_when_disconnected()
307 1 => s2.try_send(2).unwrap(), in both_ready()
438 assert!(s.try_send(0).is_ok()); in duplicate_operations()
442 assert!(s.try_send(0).is_ok()); in duplicate_operations()
458 assert!(s.try_send(0).is_ok()); in nesting()
470 assert!(s.try_send(1).is_ok()); in nesting()
551 0 => assert!(s1.try_send(i).is_ok()), in stress_send()
552 1 => assert!(s2.try_send(i).is_ok()), in stress_send()
586 1 => assert!(s2.try_send(i).is_ok()), in stress_mixed()
616 assert!(s.try_send(i).is_ok()); in stress_timeout_two_threads()
664 Ok(0) => assert!(s.try_send(0).is_ok()), in send_recv_same_channel()
690 0 => assert!(s.try_send(new_r).is_ok()), in channel_through_channel()