[][src]Struct futures_util::io::ReadToEnd

pub struct ReadToEnd<'a, R: ?Sized + '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, R: Debug + ?Sized + 'a> Debug for ReadToEnd<'a, R>
[src]

Formats the value using the given formatter. Read more

impl<R: ?Sized, '_> Unpin for ReadToEnd<'_, R>
[src]

impl<A: ?Sized, '_> Future for ReadToEnd<'_, A> where
    A: AsyncRead
[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 ReadToEnd<'a, R> where
    R: Send

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