Skip to main content

EthernetDeviceEventBindingsContext

Trait EthernetDeviceEventBindingsContext 

Source
pub trait EthernetDeviceEventBindingsContext<DeviceId>: EventContext<EthernetDeviceEvent<DeviceId>> { }
Expand description

The execution context for an Ethernet device provided by bindings.

This context trait is separate from EthernetIpLinkDeviceBindingsContext to prevent trait bound resolution cycles.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<BC: EventContext<EthernetDeviceEvent<DeviceId>>, DeviceId> EthernetDeviceEventBindingsContext<DeviceId> for BC