Struct tokio::process::ChildStdout
source · [−]pub struct ChildStdout { /* private fields */ }
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.
Implementations
sourceimpl ChildStdout
impl ChildStdout
sourcepub fn from_std(inner: ChildStdout) -> Result<Self>
pub fn from_std(inner: ChildStdout) -> Result<Self>
Creates an asynchronous ChildStderr
from a synchronous one.
Errors
This method may fail if an error is encountered when setting the pipe to non-blocking mode, or when registering the pipe with the runtime’s IO driver.
Trait Implementations
sourceimpl AsRawFd for ChildStdout
impl AsRawFd for ChildStdout
sourceimpl AsyncRead for ChildStdout
impl AsyncRead for ChildStdout
sourceimpl Debug for ChildStdout
impl Debug for ChildStdout
Auto Trait Implementations
impl RefUnwindSafe for ChildStdout
impl Send for ChildStdout
impl Sync for ChildStdout
impl Unpin for ChildStdout
impl UnwindSafe for ChildStdout
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more