Function netstack3_core::device::remove_loopback_device
source · pub fn remove_loopback_device<NonSyncCtx: NonSyncContext>(
sync_ctx: &SyncCtx<NonSyncCtx>,
ctx: &mut NonSyncCtx,
device: LoopbackDeviceId<NonSyncCtx>
) -> RemoveDeviceResultWithContext<NonSyncCtx::LoopbackDeviceState, NonSyncCtx>
Expand description
Removes the Loopback device from the device layer.
Panics
Panics if the caller holds strong device IDs for device
.