Trait lorawan::parser::MHDRAble

source ·
pub trait MHDRAble {
    // Required method
    fn mhdr(&self) -> MHDR;
}
Expand description

Helper trait to add mhdr to all types that should have it.

Required Methods§

source

fn mhdr(&self) -> MHDR

Gives the MIC of the PhyPayload.

Implementors§

source§

impl<T: AsPhyPayloadBytes> MHDRAble for T

Assumes at least one byte in the data.