Trait os::drivers::net::NetDevice

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

Required Methods§

source

fn transmit(&self, data: &[u8])

source

fn receive(&self, data: &mut [u8]) -> usize

Implementors§