Struct tokio::process::ChildStdout [−][src]
pub struct ChildStdout { /* fields omitted */ }Expand description
The standard output stream for spawned children.
This type implements the AsyncRead trait to read data from the stdout
handle of a child process asynchronously.
Trait Implementations
impl AsRawFd for ChildStdout[src]
impl AsRawFd for ChildStdout[src]impl AsyncRead for ChildStdout[src]
impl AsyncRead for ChildStdout[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