W3cubDocs

/Rust

Struct std::process::ChildStderr

pub struct ChildStderr { /* fields omitted */ }

A handle to a child process's stderr.

This struct is used in the stderr field on Child.

When an instance of ChildStderr is dropped, the ChildStderr's underlying file handle will be closed.

Trait Implementations

impl Read for ChildStderr [src]

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

🔬 This is a nightly-only experimental API. (read_initializer #42788)

Determines if this Reader can work with buffers of uninitialized memory. Read more

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

Read all bytes until EOF in this source, appending them to buf. Read more

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

ⓘImportant traits for &'a mut I
impl<'a, I> Iterator for &'a mut I where
    I: Iterator + ?Sized, 
    type Item = <I as Iterator>::Item;
impl<'a, R: Read + ?Sized> Read for &'a mut R
impl<'a, W: Write + ?Sized> Write for &'a mut W

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

ⓘImportant traits for Bytes<R>
impl<R: Read> Iterator for Bytes<R>
    type Item = Result<u8>;

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

ⓘImportant traits for Chain<T, U>
impl<T: Read, U: Read> Read for Chain<T, U>

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

ⓘImportant traits for Take<T>
impl<T: Read> Read for Take<T>

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

impl Debug for ChildStderr [src]
1.16.0

Formats the value using the given formatter. Read more

impl From<ChildStderr> for Stdio [src]
1.20.0

Performs the conversion.

impl AsRawFd for ChildStderr [src]
1.2.0

This is supported on Unix only.

Extracts the raw file descriptor. Read more

impl IntoRawFd for ChildStderr [src]
1.4.0

This is supported on Unix only.

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

impl AsRawHandle for ChildStderr [src]
1.2.0

This is supported on Windows only.

Extracts the raw handle, without taking any ownership.

impl IntoRawHandle for ChildStderr [src]
1.4.0

This is supported on Windows only.

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

Auto Trait Implementations

impl Send for ChildStderr

impl Sync for ChildStderr

Blanket Implementations

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

🔬 This is a nightly-only experimental API. (try_from #33417)

The type returned in the event of a conversion error.

🔬 This is a nightly-only experimental API. (try_from #33417)

Performs the conversion.

impl<T> From for T [src]

Performs the conversion.

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

🔬 This is a nightly-only experimental API. (try_from #33417)

The type returned in the event of a conversion error.

🔬 This is a nightly-only experimental API. (try_from #33417)

Performs the conversion.

impl<T, U> Into for T where
    U: From<T>, 
[src]

Performs the conversion.

impl<T> Borrow for T where
    T: ?Sized
[src]

ⓘImportant traits for &'a mut I
impl<'a, I> Iterator for &'a mut I where
    I: Iterator + ?Sized, 
    type Item = <I as Iterator>::Item;
impl<'a, R: Read + ?Sized> Read for &'a mut R
impl<'a, W: Write + ?Sized> Write for &'a mut W

Immutably borrows from an owned value. Read more

impl<T> BorrowMut for T where
    T: ?Sized
[src]

ⓘImportant traits for &'a mut I
impl<'a, I> Iterator for &'a mut I where
    I: Iterator + ?Sized, 
    type Item = <I as Iterator>::Item;
impl<'a, R: Read + ?Sized> Read for &'a mut R
impl<'a, W: Write + ?Sized> Write for &'a mut W

Mutably borrows from an owned value. Read more

impl<T> Any for T where
    T: 'static + ?Sized
[src]

🔬 This is a nightly-only experimental API. (get_type_id #27745)this method will likely be replaced by an associated static

Gets the TypeId of self. 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.ChildStderr.html