1 | //! TCP utility types. |
---|---|
2 | |
3 | pub(crate) mod listener; |
4 | |
5 | cfg_not_wasi! { |
6 | pub(crate) mod socket; |
7 | } |
8 | |
9 | mod split; |
10 | pub use split::{ReadHalf, WriteHalf}; |
11 | |
12 | mod split_owned; |
13 | pub use split_owned::{OwnedReadHalf, OwnedWriteHalf, ReuniteError}; |
14 | |
15 | pub(crate) mod stream; |
16 | pub(crate) use stream::TcpStream; |
17 |