Struct tokio::io::ReadHalf [−][src]
pub struct ReadHalf<T> { /* fields omitted */ }
This is supported on crate feature
io-util
only.Expand description
The readable half of a value returned from split
.
Implementations
impl<T> ReadHalf<T>
[src]
impl<T> ReadHalf<T>
[src]pub fn is_pair_of(&self, other: &WriteHalf<T>) -> bool
[src]
pub fn is_pair_of(&self, other: &WriteHalf<T>) -> bool
[src]Checks if this ReadHalf
and some WriteHalf
were split from the same
stream.