pub trait NetDevice: Send + Sync + Any { // Required methods fn transmit(&self, data: &[u8]); fn receive(&self, data: &mut [u8]) -> usize; }