Type Alias arc_swap::ArcSwapWeak
source · pub type ArcSwapWeak<T> = ArcSwapAny<Weak<T>>;
Expand description
Arc swap for the Weak pointer.
This is similar to ArcSwap, but it doesn’t store Arc, it stores Weak. It doesn’t keep the data alive when pointed to.
This is a type alias only. Most of the methods are described on the
ArcSwapAny
.
Needs the weak
feature turned on.
Aliased Type§
struct ArcSwapWeak<T> { /* private fields */ }