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]
impl<T: Clone> Clone for SharedItem<T>
fn clone(&self) -> SharedItem<T>
[src]
fn clone(&self) -> SharedItem<T>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl<T: Debug> Debug for SharedItem<T>
[src]
impl<T: Debug> Debug for SharedItem<T>
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl<T> Deref for SharedItem<T>
[src]
impl<T> Deref for SharedItem<T>
Auto Trait Implementations
impl<T> Send for SharedItem<T> where
T: Send + Sync,
impl<T> Send for SharedItem<T> where
T: Send + Sync,
impl<T> Sync for SharedItem<T> where
T: Send + Sync,
impl<T> Sync for SharedItem<T> where
T: Send + Sync,