capsules_extra::net::sixlowpan::sixlowpan_state

Trait SixlowpanState

Source
pub trait SixlowpanState<'a> {
    // Required methods
    fn next_dgram_tag(&self) -> u16;
    fn get_ctx_store(&self) -> &dyn ContextStore;
    fn add_rx_state(&self, rx_state: &'a RxState<'a>);
    fn set_rx_client(&'a self, client: &'a dyn SixlowpanRxClient);
}

Required Methods§

Source

fn next_dgram_tag(&self) -> u16

Source

fn get_ctx_store(&self) -> &dyn ContextStore

Source

fn add_rx_state(&self, rx_state: &'a RxState<'a>)

Source

fn set_rx_client(&'a self, client: &'a dyn SixlowpanRxClient)

Implementors§

Source§

impl<'a, A: Alarm<'a>, C: ContextStore> SixlowpanState<'a> for Sixlowpan<'a, A, C>