Struct futures::io::CopyInto
[−]
[src]
pub struct CopyInto<R, W> { /* fields omitted */ }
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<R, W> Future for CopyInto<R, W> where
R: AsyncRead,
W: AsyncWrite,
[src]
R: AsyncRead,
W: AsyncWrite,
type Item = (u64, R, W)
A successful value
type Error = Error
An error
fn poll(&mut self, cx: &mut Context) -> Result<Async<(u64, R, W)>, Error>
[src]
Attempt to resolve the future to a final value, registering the current task for wakeup if the value is not yet available. Read more
impl<R, W> Debug for CopyInto<R, W> where
R: Debug,
W: Debug,
[src]
R: Debug,
W: Debug,