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.
Trait Implementations
sourceimpl AsRawFd for ChildStdout
impl AsRawFd for ChildStdout
sourceimpl AsyncRead for ChildStdout
impl AsyncRead for ChildStdout
sourceunsafe fn prepare_uninitialized_buffer(
&self,
_buf: &mut [MaybeUninit<u8>]
) -> bool
unsafe fn prepare_uninitialized_buffer(
&self,
_buf: &mut [MaybeUninit<u8>]
) -> bool
Prepares an uninitialized buffer to be safe to pass to read
. Returns
true
if the supplied buffer was zeroed out. Read more
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 · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more