[][src]Struct tokio::io::Stderr

pub struct Stderr { /* fields omitted */ }

A handle to the standard error stream of a process.

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

Created by the stderr function.

Trait Implementations

impl Debug for Stderr[src]

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

impl Unpin for Stderr

impl Sync for Stderr

impl !UnwindSafe for Stderr

impl !RefUnwindSafe for Stderr

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.