Struct futures::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> Clone for SharedItem<T>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

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

Formats the value using the given formatter. Read more

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

The resulting type after dereferencing.

Dereferences the value.

Auto Trait Implementations

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

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