Home
last modified time | relevance | path

Searched refs:same_receiver (Results 1 – 2 of 2) sorted by relevance

/external/rust/crates/futures-channel/tests/
Dmpsc.rs515 fn same_receiver() { in same_receiver() function
522 assert!(txa1.same_receiver(&txa2)); in same_receiver()
523 assert!(txb1.same_receiver(&txb2)); in same_receiver()
524 assert!(!txa1.same_receiver(&txb1)); in same_receiver()
529 assert!(!txa1.same_receiver(&txa2)); in same_receiver()
530 assert!(txb1.same_receiver(&txb2)); in same_receiver()
/external/rust/crates/futures-channel/src/mpsc/
Dmod.rs457 fn same_receiver(&self, other: &Self) -> bool { in same_receiver() method
626 fn same_receiver(&self, other: &Self) -> bool { in same_receiver() method
739 pub fn same_receiver(&self, other: &Self) -> bool { in same_receiver() method
741 (Some(inner), Some(other)) => inner.same_receiver(other), in same_receiver()
820 pub fn same_receiver(&self, other: &Self) -> bool { in same_receiver() method
822 (Some(inner), Some(other)) => inner.same_receiver(other), in same_receiver()