Struct tokio::io::Copy [−][src]
#[must_use = "futures do nothing unless you `.await` or poll them"]pub struct Copy<'a, R: ?Sized, W: ?Sized> { /* fields omitted */ }
A future that asynchronously copies the entire contents of a reader into a writer.
This struct is generally created by calling copy
. Please
see the documentation of copy()
for more details.
Trait Implementations
Auto Trait Implementations
impl<'a, R: ?Sized, W: ?Sized> RefUnwindSafe for Copy<'a, R, W> where
R: RefUnwindSafe,
W: RefUnwindSafe,
R: RefUnwindSafe,
W: RefUnwindSafe,
impl<'a, R: ?Sized, W: ?Sized> Send for Copy<'a, R, W> where
R: Send,
W: Send,
R: Send,
W: Send,
impl<'a, R: ?Sized, W: ?Sized> Sync for Copy<'a, R, W> where
R: Sync,
W: Sync,
R: Sync,
W: Sync,
impl<'a, R: ?Sized, W: ?Sized> Unpin for Copy<'a, R, W>
impl<'a, R, W> !UnwindSafe for Copy<'a, R, W>
Blanket Implementations
impl<F> IntoFuture for F where
F: Future,
[src]
impl<F> IntoFuture for F where
F: Future,
[src]type Output = <F as Future>::Output
🔬 This is a nightly-only experimental API. (
into_future
)The output that the future will produce on completion.
type Future = F
🔬 This is a nightly-only experimental API. (
into_future
)Which kind of future are we turning this into?