pub trait InspectableValue {
    // Required method
    fn record<I>(&self, name: &str, inspector: &mut I)
       where I: Inspector;
}
Expand description

A trait that marks a type as inspectable.

This trait is used for types that are exposed to Inspectors many times so recording them can be deduplicated.

This type differs from Inspectable in that it receives a name parameter. This is typically used for types that record a single entry.

Required Methods§

source

fn record<I>(&self, name: &str, inspector: &mut I)
where I: Inspector,

Records this value into inspector.

Object Safety§

This trait is not object safe.

Implementors§