pub fn remove_ethernet_device<NonSyncCtx: NonSyncContext>(
    sync_ctx: &SyncCtx<NonSyncCtx>,
    ctx: &mut NonSyncCtx,
    device: EthernetDeviceId<NonSyncCtx>
) -> RemoveDeviceResultWithContext<NonSyncCtx::EthernetDeviceState, NonSyncCtx>
Expand description

Removes an Ethernet device from the device layer.

Panics

Panics if the caller holds strong device IDs for device.