W3cubDocs

/Rust

Struct std::process::ChildStdout

pub struct ChildStdout { /* fields omitted */ }

A handle to a child process's stdout. This struct is used in the stdout field on Child.

Trait Implementations

impl Read for ChildStdout [src]

Pull some bytes from this source into the specified buffer, returning how many bytes were read. Read more

Read all bytes until EOF in this source, placing them into buf. Read more

Read all bytes until EOF in this source, placing them into buf. Read more

Read the exact number of bytes required to fill buf. Read more

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

Transforms this Read instance to an Iterator over its bytes. Read more

🔬 This is a nightly-only experimental API. (io #27802)the semantics of a partial read/write of where errors happen is currently unclear and may change

Transforms this Read instance to an Iterator over chars. Read more

Creates an adaptor which will chain this stream with another. Read more

Creates an adaptor which will read at most limit bytes from it. Read more

impl Debug for ChildStdout
1.15.0
[src]

Formats the value using the given formatter.

impl AsRawFd for ChildStdout
1.2.0
[src]

Extracts the raw file descriptor. Read more

impl IntoRawFd for ChildStdout
1.4.0
[src]

Consumes this object, returning the raw underlying file descriptor. Read more

© 2010 The Rust Project Developers
Licensed under the Apache License, Version 2.0 or the MIT license, at your option.
https://doc.rust-lang.org/std/process/struct.ChildStdout.html