Searched refs:now_or_never (Results 1 – 3 of 3) sorted by relevance
/external/rust/crates/tokio/src/signal/ |
D | reusable_box.rs | 170 assert_eq!(b.get_pin().now_or_never(), Some(10)); in test_different_futures() 175 assert_eq!(b.get_pin().now_or_never(), Some(20)); in test_different_futures() 180 assert_eq!(b.get_pin().now_or_never(), Some(30)); in test_different_futures() 195 assert_eq!(b.get_pin().now_or_never(), Some(10)); in test_different_sizes() 197 assert_eq!(b.get_pin().now_or_never(), Some(0)); in test_different_sizes() 199 assert_eq!(b.get_pin().now_or_never(), Some(5)); in test_different_sizes() 218 assert_eq!(b.get_pin().now_or_never(), Some(5)); in test_zero_sized() 219 assert_eq!(b.get_pin().now_or_never(), Some(5)); in test_zero_sized() 224 assert_eq!(b.get_pin().now_or_never(), Some(5)); in test_zero_sized() 225 assert_eq!(b.get_pin().now_or_never(), Some(5)); in test_zero_sized()
|
/external/rust/crates/tokio/src/sync/ |
D | watch.rs | 457 recv.changed().now_or_never(); in watch_spurious_wakeup() 461 recv.changed().now_or_never(); in watch_spurious_wakeup() 462 recv.changed().now_or_never(); in watch_spurious_wakeup() 473 recv.changed().now_or_never(); in watch_spurious_wakeup() 495 recv.changed().now_or_never(); in watch_borrow() 499 recv.changed().now_or_never(); in watch_borrow() 500 recv.changed().now_or_never(); in watch_borrow()
|
/external/rust/crates/futures-util/src/future/future/ |
D | mod.rs | 596 fn now_or_never(self) -> Option<Self::Output> in now_or_never() method
|