Home
last modified time | relevance | path

Searched refs:is_pair_of (Results 1 – 3 of 3) sorted by relevance

/external/rust/crates/tokio/tests/
Dio_split.rs53 assert_eq!(r1.is_pair_of(&w1), true); in split_stream_id()
54 assert_eq!(r1.is_pair_of(&w2), false); in split_stream_id()
55 assert_eq!(r2.is_pair_of(&w2), true); in split_stream_id()
56 assert_eq!(r2.is_pair_of(&w1), false); in split_stream_id()
/external/rust/crates/tokio/src/io/
Dsplit.rs65 pub fn is_pair_of(&self, other: &WriteHalf<T>) -> bool { in is_pair_of() method
66 other.is_pair_of(&self) in is_pair_of()
78 if self.is_pair_of(&wr) { in unsplit()
95 pub fn is_pair_of(&self, other: &ReadHalf<T>) -> bool { in is_pair_of() method
/external/rust/crates/tokio/
DCHANGELOG.md901 - `io::ReadHalf::is_pair_of` checks if provided `WriteHalf` is for the same