MatcherBindingsTypes

Trait MatcherBindingsTypes 

Source
pub trait MatcherBindingsTypes {
    type DeviceClass: Clone + Debug;
}
Expand description

Trait defining required types for matchers provided by bindings.

Allows rules that match on device class to be installed, storing the MatcherBindingsTypes::DeviceClass type at rest, while allowing Netstack3 Core to have Bindings provide the type since it is platform-specific.

Required Associated Types§

Source

type DeviceClass: Clone + Debug

The device class type for devices installed in the netstack.

Implementors§

Source§

impl<TimerId: Debug, Event: Debug, State, FrameMeta> MatcherBindingsTypes for FakeBindingsCtx<TimerId, Event, State, FrameMeta>