Struct os_pipe::PipeWriter[][src]

pub struct PipeWriter(_);

The writing end of a pipe, returned by pipe.

PipeWriter implements Into<Stdio>, so you can pass it as an argument to Command::stdout or Command::stderr to spawn a child process that writes to the pipe.

Methods

impl PipeWriter
[src]

Trait Implementations

impl IntoRawHandle for PipeWriter
[src]

Consumes this object, returning the raw underlying handle. Read more

impl AsRawHandle for PipeWriter
[src]

Extracts the raw handle, without taking any ownership.

impl FromRawHandle for PipeWriter
[src]

Important traits for PipeWriter

Constructs a new I/O object from the specified raw handle. Read more

impl Debug for PipeWriter
[src]

Formats the value using the given formatter. Read more

impl Write for PipeWriter
[src]

Write a buffer into this object, returning how many bytes were written. Read more

Flush this output stream, ensuring that all intermediately buffered contents reach their destination. Read more

Attempts to write an entire buffer into this write. Read more

Writes a formatted string into this writer, returning any error encountered. Read more

Creates a "by reference" adaptor for this instance of Write. Read more

impl<'a> Write for &'a PipeWriter
[src]

Write a buffer into this object, returning how many bytes were written. Read more

Flush this output stream, ensuring that all intermediately buffered contents reach their destination. Read more

Attempts to write an entire buffer into this write. Read more

Writes a formatted string into this writer, returning any error encountered. Read more

Creates a "by reference" adaptor for this instance of Write. Read more

impl From<PipeWriter> for Stdio
[src]

Performs the conversion.

Auto Trait Implementations

impl Send for PipeWriter

impl Sync for PipeWriter