Struct tokio::process::ChildStderr
source · [−]pub struct ChildStderr { /* private fields */ }
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
sourceimpl AsRawFd for ChildStderr
impl AsRawFd for ChildStderr
sourceimpl AsyncRead for ChildStderr
impl AsyncRead for ChildStderr
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 ChildStderr
impl Send for ChildStderr
impl Sync for ChildStderr
impl Unpin for ChildStderr
impl !UnwindSafe for ChildStderr
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