garage44.eu/jeroen/pinnacle

logclone: git clone https://garage44.eu/jeroen/pinnacle.git

.. /ports/tokio-1.53.1/src/net/tcp/mod.rs

raw

//! TCP utility types.

pub(crate) mod listener;

cfg_not_wasip1! {
    cfg_socket2! {
        pub(crate) mod socket;
    }
}

mod split;
pub use split::{ReadHalf, WriteHalf};

mod split_owned;
pub use split_owned::{OwnedReadHalf, OwnedWriteHalf, ReuniteError};

pub(crate) mod stream;
pub(crate) use stream::TcpStream;