netstack3_core::device

Trait DeviceClassMatcher

Source
pub trait DeviceClassMatcher<DeviceClass> {
    // Required method
    fn device_class_matches(&self, device_class: &DeviceClass) -> bool;
}
Expand description

Provides matching functionality for the device class of a device installed in the netstack.

Required Methods§

Source

fn device_class_matches(&self, device_class: &DeviceClass) -> bool

Returns whether the provided device class matches the class of the device.

Implementors§