[]Struct async_std::stream::Timeout

pub struct Timeout<S: Stream> { /* fields omitted */ }

A stream with timeout time set

Trait Implementations

impl<S: Debug + Stream> Debug for Timeout<S>[src]

impl<S: Stream> Stream for Timeout<S>[src]

type Item = Result<S::Item, TimeoutError>

The type of items yielded by this stream. Read more

impl<'__pin, S: Stream> Unpin for Timeout<S> where
    __Origin<'__pin, S>: Unpin

Auto Trait Implementations

impl<S> !RefUnwindSafe for Timeout<S>

impl<S> Send for Timeout<S> where
    S: Send

impl<S> Sync for Timeout<S> where
    S: Sync

impl<S> !UnwindSafe for Timeout<S>

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<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.