[][src]Struct tokio_fs::Stdout

pub struct Stdout { /* fields omitted */ }

A handle to the standard output stream of a process.

The handle implements the AsyncWrite trait, but beware that concurrent writes to Stdout must be executed with care.

Created by the stdout function.

Trait Implementations

impl Debug for Stdout[src]

impl AsyncWrite for Stdout[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

impl Send for Stdout

impl Unpin for Stdout

impl Sync for Stdout

impl !UnwindSafe for Stdout

impl !RefUnwindSafe for Stdout

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> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<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.