netstack3_core::inspect

Trait Inspectable

Source
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.

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§

Source§

impl Inspectable for ()

Source§

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

Source§

impl Inspectable for DeviceCounters

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<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,

§

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

§

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

§

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

§

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<Inst> Inspectable for Ipv4AddressState<Inst>
where Inst: Instant,

Source§

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

Source§

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

Source§

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

Implementors§

§

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

Source§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

Source§

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