pub fn with_socket_mut<R, F: FnOnce(&mut Socket) -> R>(
id: usize,
f: F,
) -> Result<R, KernelError>Expand description
Execute a closure with a socket by ID (mutable access)
pub fn with_socket_mut<R, F: FnOnce(&mut Socket) -> R>(
id: usize,
f: F,
) -> Result<R, KernelError>Execute a closure with a socket by ID (mutable access)