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