Struct futures_util::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: Debug> Debug for ReadToEnd<A>


Formats the value using the given formatter. Read more

impl<A> Future for ReadToEnd<A> where
    A: AsyncRead

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> Send for ReadToEnd<A> where
    A: Send

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