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.
Implementations§
source§impl ChildStderr
impl ChildStderr
sourcepub fn from_std(inner: ChildStderr) -> Result<Self>
pub fn from_std(inner: ChildStderr) -> 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§
source§impl AsFd for ChildStderr
impl AsFd for ChildStderr
source§fn as_fd(&self) -> BorrowedFd<'_>
fn as_fd(&self) -> BorrowedFd<'_>
Borrows the file descriptor. Read more