Struct futures_util::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: Debug, W: Debug> Debug for CopyInto<R, W>


Formats the value using the given formatter. Read more

impl<R, W> Future for CopyInto<R, W> where
    R: AsyncRead,
    W: AsyncWrite

A successful value

An error


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<R, W> Send for CopyInto<R, W> where
    R: Send,
    W: Send

impl<R, W> Sync for CopyInto<R, W> where
    R: Sync,
    W: Sync