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 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
Auto 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