Struct futures_util::future::WeakShared
source · [−]pub struct WeakShared<Fut: Future>(_);
Expand description
A weak reference to a Shared
that can be upgraded much like an Arc
.
Implementations
Trait Implementations
sourceimpl<Fut: Future> Clone for WeakShared<Fut>
impl<Fut: Future> Clone for WeakShared<Fut>
Auto Trait Implementations
impl<Fut> !RefUnwindSafe for WeakShared<Fut>
impl<Fut> Send for WeakShared<Fut> where
Fut: Send,
<Fut as Future>::Output: Send + Sync,
impl<Fut> Sync for WeakShared<Fut> where
Fut: Send,
<Fut as Future>::Output: Send + Sync,
impl<Fut> Unpin for WeakShared<Fut>
impl<Fut> !UnwindSafe for WeakShared<Fut>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more