[][src]Struct tokio_process::ChildStderr

pub struct ChildStderr { /* fields omitted */ }

The standard error stream for spawned children.

This type implements the AsyncRead trait to read data from the stderr handle of a child process asynchronously.

Trait Implementations

impl Debug for ChildStderr[src]

impl AsRawFd for ChildStderr[src]

impl AsyncRead for ChildStderr[src]

unsafe fn prepare_uninitialized_buffer(&self, buf: &mut [u8]) -> bool[src]

Prepares an uninitialized buffer to be safe to pass to read. Returns true if the supplied buffer was zeroed out. Read more

fn poll_read_buf<B>(
    self: Pin<&mut Self>,
    cx: &mut Context,
    buf: &mut B
) -> Poll<Result<usize, Error>> where
    B: BufMut
[src]

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

Auto Trait Implementations

Blanket Implementations

impl<T> From<T> for T[src]

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

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

type Error = Infallible

The type returned in the event of a conversion error.

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

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

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

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

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

impl<R> AsyncReadExt for R where
    R: AsyncRead + ?Sized
[src]

fn copy<W>(&'a mut self, dst: &'a mut W) -> Copy<'a, Self, W> where
    Self: Unpin,
    W: AsyncWrite + Unpin + ?Sized
[src]

Copy all data from self into the provided AsyncWrite. Read more

fn read(&'a mut self, dst: &'a mut [u8]) -> Read<'a, Self> where
    Self: Unpin
[src]

Read data into the provided buffer. Read more

fn read_exact(&'a mut self, dst: &'a mut [u8]) -> ReadExact<'a, Self> where
    Self: Unpin
[src]

Read exactly the amount of data needed to fill the provided buffer.

fn read_to_end(&'a mut self, dst: &'a mut Vec<u8>) -> ReadToEnd<'a, Self> where
    Self: Unpin
[src]

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

fn read_to_string(&'a mut self, dst: &'a mut String) -> ReadToString<'a, Self> where
    Self: Unpin
[src]

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