Struct tokio::process::ChildStderr [−][src]
pub struct ChildStderr { /* fields omitted */ }Expand description
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 AsRawFd for ChildStderr[src]
impl AsRawFd for ChildStderr[src]impl AsyncRead for ChildStderr[src]
impl AsyncRead for ChildStderr[src]fn poll_read(
self: Pin<&mut Self>,
cx: &mut Context<'_>,
buf: &mut [u8]
) -> Poll<Result<usize>>[src]
fn poll_read(
self: Pin<&mut Self>,
cx: &mut Context<'_>,
buf: &mut [u8]
) -> Poll<Result<usize>>[src]Attempts to read from the AsyncRead into buf. Read more
unsafe fn prepare_uninitialized_buffer(
&self,
buf: &mut [MaybeUninit<u8>]
) -> bool[src]
unsafe fn prepare_uninitialized_buffer(
&self,
buf: &mut [MaybeUninit<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