Struct futures::future::WeakShared
source · pub struct WeakShared<Fut>(/* private fields */)
where
Fut: Future;
Expand description
A weak reference to a Shared
that can be upgraded much like an Arc
.
Implementations§
Trait Implementations§
source§fn clone(&self) -> WeakShared<Fut>
fn clone(&self) -> WeakShared<Fut>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more