Struct async_std::process::ChildStderr  [−][src]
pub struct ChildStderr(_);
A handle to a child process’s standard error (stderr).
When a ChildStderr is dropped, the underlying handle gets closed.
Implementations
impl ChildStderr[src]
impl ChildStderr[src]pub async fn into_stdio(self) -> Result<Stdio, Error>[src]
Convert async_process::ChildStderr into std::process::Stdio.
You can use it to associate to the next process.
Examples
use async_process::Command; use std::process::Stdio; let mut ls_child = Command::new("ls").arg("x").stderr(Stdio::piped()).spawn()?; let stdio:Stdio = ls_child.stderr.take().unwrap().into_stdio().await?; let mut echo_child = Command::new("echo").stdin(stdio).spawn()?;
Trait Implementations
impl AsyncRead for ChildStderr[src]
impl AsyncRead for ChildStderr[src]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
impl<R> AsyncReadExt for R where
    R: AsyncRead + ?Sized, [src]
impl<R> AsyncReadExt for R where
    R: AsyncRead + ?Sized, [src]pub fn read(&'a mut self, buf: &'a mut [u8]) -> ReadFuture<'a, Self>ⓘNotable traits for ReadFuture<'_, R>
impl<'_, R> Future for ReadFuture<'_, R> where
    R: AsyncRead + Unpin + ?Sized,     type Output = Result<usize, Error>; where
    Self: Unpin, [src]
Notable traits for ReadFuture<'_, R>
impl<'_, R> Future for ReadFuture<'_, R> where
    R: AsyncRead + Unpin + ?Sized,     type Output = Result<usize, Error>;Self: Unpin,
pub fn read_vectored(
    &'a mut self, 
    bufs: &'a mut [IoSliceMut<'a>]
) -> ReadVectoredFuture<'a, Self>ⓘNotable traits for ReadVectoredFuture<'_, R>
impl<'_, R> Future for ReadVectoredFuture<'_, R> where
    R: AsyncRead + Unpin + ?Sized,     type Output = Result<usize, Error>; where
    Self: Unpin, [src]
&'a mut self,
bufs: &'a mut [IoSliceMut<'a>]
) -> ReadVectoredFuture<'a, Self>ⓘ
Notable traits for ReadVectoredFuture<'_, R>
impl<'_, R> Future for ReadVectoredFuture<'_, R> where
    R: AsyncRead + Unpin + ?Sized,     type Output = Result<usize, Error>;Self: Unpin,
pub fn read_to_end(
    &'a mut self, 
    buf: &'a mut Vec<u8, Global>
) -> ReadToEndFuture<'a, Self>ⓘNotable traits for ReadToEndFuture<'_, R>
impl<'_, R> Future for ReadToEndFuture<'_, R> where
    R: AsyncRead + Unpin + ?Sized,     type Output = Result<usize, Error>; where
    Self: Unpin, [src]
&'a mut self,
buf: &'a mut Vec<u8, Global>
) -> ReadToEndFuture<'a, Self>ⓘ
Notable traits for ReadToEndFuture<'_, R>
impl<'_, R> Future for ReadToEndFuture<'_, R> where
    R: AsyncRead + Unpin + ?Sized,     type Output = Result<usize, Error>;Self: Unpin,
pub fn read_to_string(
    &'a mut self, 
    buf: &'a mut String
) -> ReadToStringFuture<'a, Self>ⓘNotable traits for ReadToStringFuture<'_, R>
impl<'_, R> Future for ReadToStringFuture<'_, R> where
    R: AsyncRead + Unpin + ?Sized,     type Output = Result<usize, Error>; where
    Self: Unpin, [src]
&'a mut self,
buf: &'a mut String
) -> ReadToStringFuture<'a, Self>ⓘ
Notable traits for ReadToStringFuture<'_, R>
impl<'_, R> Future for ReadToStringFuture<'_, R> where
    R: AsyncRead + Unpin + ?Sized,     type Output = Result<usize, Error>;Self: Unpin,
pub fn read_exact(&'a mut self, buf: &'a mut [u8]) -> ReadExactFuture<'a, Self>ⓘNotable traits for ReadExactFuture<'_, R>
impl<'_, R> Future for ReadExactFuture<'_, R> where
    R: AsyncRead + Unpin + ?Sized,     type Output = Result<(), Error>; where
    Self: Unpin, [src]
Notable traits for ReadExactFuture<'_, R>
impl<'_, R> Future for ReadExactFuture<'_, R> where
    R: AsyncRead + Unpin + ?Sized,     type Output = Result<(), Error>;Self: Unpin,
pub fn take(self, limit: u64) -> Take<Self>[src]
pub fn bytes(self) -> Bytes<Self>[src]
pub fn chain<R>(self, next: R) -> Chain<Self, R> where
    R: AsyncRead, [src]
R: AsyncRead,
pub fn boxed_reader<'a>(self) -> Pin<Box<dyn AsyncRead + 'a + Send, Global>>ⓘ where
    Self: Send + 'a, [src]
Self: Send + 'a,