Struct tokio::net::unix::ReadHalf [−][src]
pub struct ReadHalf<'a>(_);
This is supported on crate feature
net
only.Expand description
Borrowed read half of a UnixStream
, created by split
.
Reading from a ReadHalf
is usually done using the convenience methods found on the
AsyncReadExt
trait.
Trait Implementations
impl AsRef<UnixStream> for ReadHalf<'_>
[src]
impl AsRef<UnixStream> for ReadHalf<'_>
[src]fn as_ref(&self) -> &UnixStream
[src]
fn as_ref(&self) -> &UnixStream
[src]Performs the conversion.