Skip to main content

OwnedReadHalf

Type Alias OwnedReadHalf 

Source
pub type OwnedReadHalf = TcpStream;
Expand description

Owned read half of a split TCP stream.

compio 0.19’s TcpStream::into_split returns two owned TcpStreams that share the underlying fd, so the read and write halves are the same type.

Aliased Type§

pub struct OwnedReadHalf { /* private fields */ }