Trait netstack3_device::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§