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§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".