pub trait WeakRoot {
    type Root: Root;
    fn upgrade(&self) -> Option<Self::Root>;
}
Expand description

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.

Associated Types

The type implementing the Root trait

Required methods

Equivalent to std::sync::Weak::upgrade().

Implementations on Foreign Types

Implementors