[][src]Struct bluetooth_mesh::stack::messages::OutgoingMessage

pub struct OutgoingMessage<Storage: AsRef<[u8]>> {
    pub app_payload: AppPayload<Storage>,
    pub mic_size: MicSize,
    pub force_segment: bool,
    pub encryption_key: MessageKeys,
    pub iv_index: IVIndex,
    pub source_element_index: ElementIndex,
    pub dst: Address,
    pub ttl: Option<TTL>,
}

Fields

app_payload: AppPayload<Storage>mic_size: MicSizeforce_segment: boolencryption_key: MessageKeysiv_index: IVIndexsource_element_index: ElementIndexdst: Addressttl: Option<TTL>

Methods

impl<Storage: AsRef<[u8]>> OutgoingMessage<Storage>[src]

pub fn data_with_mic_len(&self) -> usize[src]

pub fn should_segment(&self) -> bool[src]

pub fn seg_o(&self) -> Option<SegO>[src]

Auto Trait Implementations

impl<Storage> RefUnwindSafe for OutgoingMessage<Storage> where
    Storage: RefUnwindSafe

impl<Storage> Send for OutgoingMessage<Storage> where
    Storage: Send

impl<Storage> Sync for OutgoingMessage<Storage> where
    Storage: Sync

impl<Storage> Unpin for OutgoingMessage<Storage> where
    Storage: Unpin

impl<Storage> UnwindSafe for OutgoingMessage<Storage> where
    Storage: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,