Struct futures_util::future::WeakShared
source · pub struct WeakShared<Fut: Future>(Weak<Inner<Fut>>);
Expand description
A weak reference to a Shared
that can be upgraded much like an Arc
.
Tuple Fields§
§0: Weak<Inner<Fut>>
Implementations§
Trait Implementations§
Auto 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