Struct futures::future::WeakShared
source · [−]pub struct WeakShared<Fut>(_)
where
Fut: Future;
Expand description
A weak reference to a Shared
that can be upgraded much like an Arc
.
Implementations
Trait Implementations
sourcefn clone(&self) -> WeakShared<Fut>
fn clone(&self) -> WeakShared<Fut>
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations
Blanket Implementations
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more