pub trait TryAsRef<T> {
    fn try_as_ref(&self) -> Option<&T>;
}
Expand description

A version of AsRef<T> that can fail.

Required Methods

Implementors