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]
impl<T> Clone for SharedItem<T> where
T: Clone,
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> Deref for SharedItem<T>
[src]
impl<T> Deref for SharedItem<T>
type Target = T
The resulting type after dereferencing.
ⓘImportant traits for &'a mut Rfn deref(&self) -> &T
[src]
ⓘImportant traits for &'a mut R
fn deref(&self) -> &T
Dereferences the value.
impl<T> Debug for SharedItem<T> where
T: Debug,
[src]
impl<T> Debug for SharedItem<T> where
T: Debug,
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,