Type Alias ctf_pwn::io::TcpPipe

source ·
pub type TcpPipe = Pipe<OwnedReadHalf, OwnedWriteHalf>;

Aliased Type§

struct TcpPipe { /* private fields */ }

Implementations§

source§

impl TcpPipe

source

pub async fn connect<A: ToSocketAddrs>(addr: A) -> Result<TcpPipe>

Trait Implementations§

source§

impl From<TcpStream> for TcpPipe

source§

fn from(value: TcpStream) -> Self

Converts to this type from the input type.