[][src]Struct tokio_fs::Stdin

pub struct Stdin { /* fields omitted */ }

A handle to the standard input stream of a process.

The handle implements the AsyncRead trait, but beware that concurrent reads of Stdin must be executed with care.

As an additional caveat, reading from the handle may block the calling future indefinitely, if there is not enough data available. This makes this handle unsuitable for use in any circumstance where immediate reaction to available data is required, e.g. interactive use or when implementing a subprocess driven by requests on the standard input.

Created by the stdin function.

Trait Implementations

impl AsyncRead for Stdin[src]

impl Debug for Stdin[src]

impl Read for Stdin[src]

Auto Trait Implementations

impl RefUnwindSafe for Stdin

impl Send for Stdin

impl Sync for Stdin

impl Unpin for Stdin

impl UnwindSafe for Stdin

Blanket Implementations

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

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

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

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

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

impl<R> ReadBytesExt for R where
    R: Read + ?Sized
[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.