Structsยง
- Atom
- A thread-safe reference-counted mutabel pointer.
- Spin
Lock - Weak
- A weak reference to an
Atom
. Weak references do not count towards the strong reference count, and will not prevent the value from being dropped. However, they may be upgraded to strong references. If the value has already been dropped, then anOption::None
will be returned when attempting to upgrade.