pub trait Upgrade where
    Self: Sized
{ type Strong; fn upgrade(&self) -> Option<Self::Strong>; }
Expand description

Trait for generalizing upgrading a weak reference to a strong reference.

Required Associated Types

Strong reference type.

Required Methods

Try upgrading a weak reference to a strong reference.

Implementations on Foreign Types

Implementors