[][src]Trait bluetooth_mesh::stack::Stack

pub trait Stack: Sized {
    fn iv_index(&self) -> (IVIndex, IVUpdateFlag);
fn primary_address(&self) -> UnicastAddress;
fn element_count(&self) -> ElementCount;
fn send_message<Storage: AsRef<[u8]> + AsMut<[u8]>>(
        &self,
        source_element: ElementIndex,
        app_index: AppKeyIndex,
        dst: Address,
        payload: AppPayload<Storage>
    ) -> Result<(), SendError>; fn element_ref(
        &self,
        element_index: ElementIndex
    ) -> ElementRef<Self, &Self> { ... } }

Required methods

fn iv_index(&self) -> (IVIndex, IVUpdateFlag)

fn primary_address(&self) -> UnicastAddress

fn element_count(&self) -> ElementCount

fn send_message<Storage: AsRef<[u8]> + AsMut<[u8]>>(
    &self,
    source_element: ElementIndex,
    app_index: AppKeyIndex,
    dst: Address,
    payload: AppPayload<Storage>
) -> Result<(), SendError>

Loading content...

Provided methods

fn element_ref(&self, element_index: ElementIndex) -> ElementRef<Self, &Self>

Loading content...

Implementors

Loading content...