Struct ChildStderr

struct ChildStderr { ... }

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.

Implementations

impl ChildStderr

fn from_std(inner: std::process::ChildStderr) -> io::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.

impl super::ChildStderr

fn into_owned_fd(self: Self) -> io::Result<OwnedFd>

Convert into OwnedFd.

impl AsFd for super::ChildStderr

fn as_fd(self: &Self) -> BorrowedFd<'_>

impl AsRawFd for super::ChildStderr

fn as_raw_fd(self: &Self) -> RawFd

impl AsyncRead for ChildStderr

fn poll_read(self: Pin<&mut Self>, cx: &mut Context<'_>, buf: &mut ReadBuf<'_>) -> Poll<io::Result<()>>

impl Debug for ChildStderr

fn fmt(self: &Self, f: &mut $crate::fmt::Formatter<'_>) -> $crate::fmt::Result

impl Freeze for ChildStderr

impl RefUnwindSafe for ChildStderr

impl Send for ChildStderr

impl Sync for ChildStderr

impl TryInto for ChildStderr

fn try_into(self: Self) -> Result<Stdio, <Self as >::Error>

impl Unpin for ChildStderr

impl UnwindSafe for ChildStderr

impl<R> AsyncReadExt for ChildStderr

impl<T> Any for ChildStderr

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for ChildStderr

fn borrow(self: &Self) -> &T

impl<T> BorrowMut for ChildStderr

fn borrow_mut(self: &mut Self) -> &mut T

impl<T> From for ChildStderr

fn from(t: T) -> T

Returns the argument unchanged.

impl<T, U> Into for ChildStderr

fn into(self: Self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> TryFrom for ChildStderr

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

impl<T, U> TryInto for ChildStderr

fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>