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§
Sourcetype DeviceClass: Clone + Debug
type DeviceClass: Clone + Debug
The device class type for devices installed in the netstack.