Inspectable

Trait Inspectable 

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§

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

Records this value into inspector.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

§

impl Inspectable for ()

§

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

Source§

impl Inspectable for MarkStorage<Mark>

Source§

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

Source§

impl Inspectable for BlackholeDeviceCounters

Source§

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

Source§

impl Inspectable for EthernetDeviceCounters

Source§

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

Source§

impl Inspectable for PureIpDeviceCounters

Source§

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

Source§

impl Inspectable for DeviceSocketCounters

Source§

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

Source§

impl Inspectable for IgmpCounters

Source§

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

Source§

impl Inspectable for MldCounters

Source§

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

Source§

impl<C> Inspectable for Ipv6RxCounters<C>
where C: CounterRepr,

Source§

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

Source§

impl<I> Inspectable for IpCounters<I>
where I: IpCountersIpExt,

Source§

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

Source§

impl<I> Inspectable for MulticastForwardingCounters<I>
where I: Ip,

Source§

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

Source§

impl<I> Inspectable for RawIpSocketCounters<I>
where I: Ip,

Source§

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

Source§

impl<I> Inspectable for CombinedTcpCounters<'_, I>
where I: Ip,

Source§

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

Source§

impl<I> Inspectable for CombinedUdpCounters<'_, I>
where I: Ip,

Source§

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

Source§

impl<I, A, BT> Inspectable for State<I, A, BT>

Source§

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

Source§

impl<I, D, BT> Inspectable for MulticastForwardingPendingPackets<I, D, BT>

Source§

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

Source§

impl<I, E, BT> Inspectable for Table<I, E, BT>

Source§

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

Source§

impl<I, Inst> Inspectable for IpAddressData<I, Inst>
where I: IpDeviceStateIpExt, Inst: Instant,

Source§

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

Source§

impl<Inst> Inspectable for Ipv6AddrConfig<Inst>
where Inst: Instant,

Source§

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

Implementors§

Source§

impl Inspectable for DeviceCounters

Source§

impl Inspectable for CommonAddressConfig

Source§

impl<I> Inspectable for Tuple<I>
where I: IpExt,

Source§

impl<I> Inspectable for MulticastRouteKey<I>
where I: MulticastRouteIpExt,

Source§

impl<I, BT> Inspectable for Hook<I, BT, ()>

Source§

impl<I, BT> Inspectable for IpRoutines<I, BT, ()>

Source§

impl<I, BT> Inspectable for NatRoutines<I, BT, ()>

Source§

impl<I, BT> Inspectable for Routine<I, BT, ()>

Source§

impl<I, BT> Inspectable for Rule<I, BT, ()>

Source§

impl<I, BT> Inspectable for UninstalledRoutine<I, BT, ()>

Source§

impl<I, BT, RuleInfo> Inspectable for Action<I, BT, RuleInfo>

Source§

impl<Inst> Inspectable for CommonAddressProperties<Inst>
where Inst: Instant,

Source§

impl<Inst> Inspectable for Ipv4AddrConfig<Inst>
where Inst: Instant,