Conceptual
Login

Weak References

Rc/Arc cycles never reach a strong count of zero, so cyclic structures leak; Weak<T> holds a non-owning back-edge that does not keep the value alive. Weak::upgrade returns Option<Rc<T>>, forcing callers to handle the case where the target was already dropped.