Struct futures_util::io::ReadToEnd [−][src]
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]
impl<'a, R: Debug + ?Sized + 'a> Debug for ReadToEnd<'a, R>fn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl<'a, R: ?Sized> Unpin for ReadToEnd<'a, R>[src]
impl<'a, R: ?Sized> Unpin for ReadToEnd<'a, R>impl<'a, A: ?Sized> Future for ReadToEnd<'a, A> where
A: AsyncRead, [src]
impl<'a, A: ?Sized> Future for ReadToEnd<'a, A> where
A: AsyncRead, type Output = Result<()>
🔬 This is a nightly-only experimental API. (futures_api)
futures in libcore are unstable
The result of the Future.
fn poll(self: PinMut<Self>, cx: &mut Context) -> Poll<Self::Output>[src]
fn poll(self: PinMut<Self>, cx: &mut Context) -> Poll<Self::Output>🔬 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