capsules_extra::net::sixlowpan::sixlowpan_state

Trait SixlowpanRxClient

Source
pub trait SixlowpanRxClient {
    // Required method
    fn receive(&self, buf: &[u8], len: usize, result: Result<(), ErrorCode>);
}
Expand description

Client trait for receiving 6lowpan frames.

Objects that implement this trait can set themselves to be the client for the Sixlowpan struct, and will then receive a callback once an IPv6 packet has been fully reassembled.

Required Methods§

Source

fn receive(&self, buf: &[u8], len: usize, result: Result<(), ErrorCode>)

Implementors§