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

pub struct ReadExact<A, T> { /* 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, T> Debug for ReadExact<A, T> where
    A: Debug,
    T: Debug


Formats the value using the given formatter. Read more

impl<A, T> Future for ReadExact<A, T> where
    A: 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<A, T> Send for ReadExact<A, T> where
    A: Send,
    T: Send

impl<A, T> Sync for ReadExact<A, T> where
    A: Sync,
    T: Sync