Struct tokio::prelude::future::SharedItem [] [src]

pub struct SharedItem<T> { /* fields omitted */ }

A wrapped item of the original future that is cloneable and implements Deref for ease of use.

Trait Implementations

impl<T> Clone for SharedItem<T> where
    T: Clone
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<T> Deref for SharedItem<T>
[src]

The resulting type after dereferencing.

Important traits for &'a mut R

Dereferences the value.

impl<T> Debug for SharedItem<T> where
    T: Debug
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl<T> Send for SharedItem<T> where
    T: Send + Sync

impl<T> Sync for SharedItem<T> where
    T: Send + Sync