pub trait WeakRoot { type Root: Root; fn upgrade(&self) -> Option<Self::Root>; }
The top-level root as weak handle, which needs an upgrade to become a usable root.
If the underlying reference isn’t present anymore, such upgrade will fail permanently.
The type implementing the Root trait
Root
Equivalent to std::sync::Weak::upgrade().
std::sync::Weak::upgrade()