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
sourceimpl 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
sourceimpl AsRawFd for ChildStderr
impl AsRawFd for ChildStderr
sourceimpl AsyncRead for ChildStderr
impl AsyncRead for ChildStderr
sourceimpl Debug for ChildStderr
impl Debug for ChildStderr
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 Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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