pub struct ReadHalf<T> { /* fields omitted */ }
Expand description
The readable half of a value returned from split
.
Checks if this ReadHalf
and some WriteHalf
were split from the same
stream.
Reunites with a previously split WriteHalf
.
If this ReadHalf
and the given WriteHalf
do not originate from the
same split
operation this method will panic.
This can be checked ahead of time by comparing the stream ID
of the two halves.
Attempts to read from the AsyncRead
into buf
. Read more
Formats the value using the given formatter. Read more
impl<T> Any for T where
T: 'static + ?Sized,
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
impl<T, U> Into<U> for T where
U: From<T>,
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.