Struct std::os::Pipe[src]

pub struct Pipe {
    pub reader: c_int,
    pub writer: c_int,
}

A low-level OS in-memory pipe.

Fields

reader

A file descriptor representing the reading end of the pipe. Data written on the out file descriptor can be read from this file descriptor.

writer

A file descriptor representing the write end of the pipe. Data written to this file descriptor can be read from the input file descriptor.