pub trait DeviceConfigurationContext<D: Device>: DeviceIdContext<D> {
// Required methods
fn with_nud_config<I: Ip, O, F: FnOnce(Option<&NudUserConfig>) -> O>(
&mut self,
device_id: &Self::DeviceId,
f: F,
) -> O;
fn with_nud_config_mut<I: Ip, O, F: FnOnce(Option<&mut NudUserConfig>) -> O>(
&mut self,
device_id: &Self::DeviceId,
f: F,
) -> O;
}
Expand description
A trait abstracting device configuration.
This trait allows the device API to perform device confiuration at the device layer.
Required Methods§
Object Safety§
This trait is not object safe.