Struct futures::io::Read [] [src]

pub struct Read<R, T> { /* fields omitted */ }

A future which can be used to easily read available number of bytes to fill a buffer.

Created by the [read] function.

Trait Implementations

impl<R, T> Debug for Read<R, T> where
    R: Debug,
    T: Debug


Formats the value using the given formatter. Read more

impl<R, T> Future for Read<R, T> where
    R: AsyncRead,
    T: AsMut<[u8]>, 

A successful value

An error


Attempt to resolve the future to a final value, registering the current task for wakeup if the value is not yet available. Read more

Auto Trait Implementations

impl<R, T> Send for Read<R, T> where
    R: Send,
    T: Send

impl<R, T> Sync for Read<R, T> where
    R: Sync,
    T: Sync