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