Trait MICAble
lorawan::parser
pub trait MICAble { pub fn mic(&self) -> MIC; }
Helper trait to add mic to all types that should have it.
pub fn mic(&self) -> MIC
Gives the MIC of the PhyPayload.
impl<T: AsPhyPayloadBytes> MICAble for T