[][src]Struct tokio_process::ChildStdin

pub struct ChildStdin { /* fields omitted */ }

The standard input stream for spawned children.

This type implements the AsyncWrite trait to pass data to the stdin handle of handle of a child process asynchronously.

Trait Implementations

impl Debug for ChildStdin[src]

impl AsRawFd for ChildStdin[src]

impl AsyncWrite for ChildStdin[src]

fn poll_write_buf<B>(
    self: Pin<&mut Self>,
    cx: &mut Context,
    buf: &mut B
) -> Poll<Result<usize, Error>> where
    B: Buf
[src]

Write a Buf into this value, returning how many bytes were written. Read more

Auto Trait Implementations

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<W> AsyncWriteExt for W where
    W: AsyncWrite + ?Sized
[src]

fn write(&'a mut self, src: &'a [u8]) -> Write<'a, Self> where
    Self: Unpin
[src]

Write a buffer into this writter, returning how many bytes were written.

fn write_all(&'a mut self, src: &'a [u8]) -> WriteAll<'a, Self> where
    Self: Unpin
[src]

Attempt to write an entire buffer into this writter.

fn flush(&mut self) -> Flush<Self> where
    Self: Unpin
[src]

Flush the contents of this writer.

fn shutdown(&mut self) -> Shutdown<Self> where
    Self: Unpin
[src]

Shutdown this writer.