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

A trait that allows a type to record its fields to an inspector.

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

Required Methods§

source

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

Records this value into inspector.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl<I, BT> Inspectable for State<I, BT>
where I: IpExt, BT: FilterBindingsTypes,

source§

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

Implementors§

source§

impl<I, DeviceClass> Inspectable for Action<I, DeviceClass, ()>
where I: IpExt, DeviceClass: Debug,

source§

impl<I, DeviceClass> Inspectable for Hook<I, DeviceClass, ()>
where I: IpExt, DeviceClass: Debug,

source§

impl<I, DeviceClass> Inspectable for Routine<I, DeviceClass, ()>
where I: IpExt, DeviceClass: Debug,

source§

impl<I, DeviceClass> Inspectable for Rule<I, DeviceClass, ()>
where I: IpExt, DeviceClass: Debug,

source§

impl<I, DeviceClass> Inspectable for UninstalledRoutine<I, DeviceClass, ()>
where I: IpExt, DeviceClass: Debug,