listener.rs |
|
14359 |
mod.rs |
TCP utility types. |
289 |
socket.rs |
|
27897 |
split.rs |
`TcpStream` split support.
A `TcpStream` can be split into a `ReadHalf` and a
`WriteHalf` with the `TcpStream::split` method. `ReadHalf`
implements `AsyncRead` while `WriteHalf` implements `AsyncWrite`.
Compared to the generic split of `AsyncRead + AsyncWrite`, this specialized
split has no associated overhead and enforces all invariants at the type
level. |
15308 |
split_owned.rs |
`TcpStream` owned split support.
A `TcpStream` can be split into an `OwnedReadHalf` and a `OwnedWriteHalf`
with the `TcpStream::into_split` method. `OwnedReadHalf` implements
`AsyncRead` while `OwnedWriteHalf` implements `AsyncWrite`.
Compared to the generic split of `AsyncRead + AsyncWrite`, this specialized
split has no associated overhead and enforces all invariants at the type
level. |
18078 |
stream.rs |
|
50079 |