⚠️ VeridianOS Kernel Documentation - This is low-level kernel code. All functions are unsafe unless explicitly marked otherwise. no_std

with_device_mut

Function with_device_mut 

Source
pub fn with_device_mut<R, F: FnOnce(&mut dyn NetworkDevice) -> R>(
    name: &str,
    f: F,
) -> Option<R>
Expand description

Execute a closure with a device by name (mutable access)