Struct futures_util::io::CopyInto [−][src]
A future which will copy all data from a reader into a writer.
Created by the copy_into
function, this future will resolve to the number of
bytes copied or an error if one happens.
Trait Implementations
impl<'a, R: Debug + ?Sized + 'a, W: Debug + ?Sized + 'a> Debug for CopyInto<'a, R, W>
[src]
impl<'a, R: Debug + ?Sized + 'a, W: Debug + ?Sized + 'a> Debug for CopyInto<'a, R, W>
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl<'a, R: ?Sized, W: ?Sized> Unpin for CopyInto<'a, R, W>
[src]
impl<'a, R: ?Sized, W: ?Sized> Unpin for CopyInto<'a, R, W>
impl<'a, R: ?Sized, W: ?Sized> Future for CopyInto<'a, R, W> where
R: AsyncRead,
W: AsyncWrite,
[src]
impl<'a, R: ?Sized, W: ?Sized> Future for CopyInto<'a, R, W> where
R: AsyncRead,
W: AsyncWrite,
type Output = Result<u64>
🔬 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