Trait HasAddr

Source
pub trait HasAddr<T = Self> {
    // Required method
    fn addr(&self) -> Cow<'_, Node<T>>;
}
Expand description

A trait implemented by values which have a strong node address associated with them

Required Methods§

Source

fn addr(&self) -> Cow<'_, Node<T>>

Get a Cow of the strong node address associated with this value

Implementors§

Source§

impl<T> HasAddr<T> for Node<T>