[][src]Struct futures_util::io::CopyInto

pub struct CopyInto<'a, R: ?Sized + 'a, W: ?Sized + 'a> { /* 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<'a, R: Debug + ?Sized + 'a, W: Debug + ?Sized + 'a> Debug for CopyInto<'a, R, W>
[src]

Formats the value using the given formatter. Read more

impl<R: ?Sized, W: ?Sized, '_> Unpin for CopyInto<'_, R, W>
[src]

impl<R: ?Sized, W: ?Sized, '_> Future for CopyInto<'_, R, W> where
    R: AsyncRead,
    W: AsyncWrite
[src]

🔬 This is a nightly-only experimental API. (futures_api)

futures in libcore are unstable

The result of the Future.

🔬 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

Auto Trait Implementations

impl<'a, R: ?Sized, W: ?Sized> Send for CopyInto<'a, R, W> where
    R: Send,
    W: Send

impl<'a, R: ?Sized, W: ?Sized> Sync for CopyInto<'a, R, W> where
    R: Sync,
    W: Sync