Struct futures::io::ReadExact[][src]

pub struct ReadExact<'a, R> where
    R: 'a + ?Sized
{ /* fields omitted */ }

A future which can be used to easily read exactly enough bytes to fill a buffer.

Created by the read_exact function.

Trait Implementations

impl<'a, R> Unpin for ReadExact<'a, R> where
    R: ?Sized
[src]

impl<'a, R> Debug for ReadExact<'a, R> where
    R: 'a + Debug + ?Sized
[src]

Formats the value using the given formatter. Read more

impl<'a, R> Future for ReadExact<'a, R> where
    R: AsyncRead + ?Sized
[src]

🔬 This is a nightly-only experimental API. (futures_api)

futures in libcore are unstable

The result of the Future.

🔬 This is a nightly-only experimental API. (futures_api)

futures in libcore are unstable

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<'a, R: ?Sized> Send for ReadExact<'a, R> where
    R: Send

impl<'a, R: ?Sized> Sync for ReadExact<'a, R> where
    R: Sync