pub trait NetScheme: Scheme {
    fn recv(&self, buf: &mut [u8]) -> Result<usize, DeviceError>;
    fn send(&self, buf: &[u8]) -> Result<usize, DeviceError>;
    fn get_mac(&self) -> Address;
    fn get_ifname(&self) -> String;
    fn get_ip_address(&self) -> Vec<Cidr, Global>Notable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
    A: Allocator
; fn poll(&self) -> Result<(), DeviceError>; }

Required Methods

Implementors