Struct futures::io::ReadToEnd [] [src]

pub struct ReadToEnd<A> { /* fields omitted */ }

A future which can be used to easily read the entire contents of a stream into a vector.

Created by the read_to_end function.

Trait Implementations

impl<A> Future for ReadToEnd<A> where
    A: AsyncRead
[src]

A successful value

An error

[src]

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

impl<A> Debug for ReadToEnd<A> where
    A: Debug
[src]

[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl<A> Send for ReadToEnd<A> where
    A: Send

impl<A> Sync for ReadToEnd<A> where
    A: Sync