pub fn add_ethernet_device_with_state<NonSyncCtx: NonSyncContext, F: FnOnce() -> (NonSyncCtx::EthernetDeviceState, NonSyncCtx::DeviceIdentifier)>(
    sync_ctx: &SyncCtx<NonSyncCtx>,
    mac: UnicastAddr<Mac>,
    max_frame_size: MaxFrameSize,
    metric: RawMetric,
    bindings_state: F
) -> EthernetDeviceId<NonSyncCtx>
Expand description

Adds a new Ethernet device to the stack.