pub struct RxData { /* private fields */ }Expand description
A decoded data frame, with its payload decrypted.
What Session::decode returns once a frame’s MIC has verified: the header fields and
the recovered payload, held in fixed buffers.
Implementations§
Source§impl RxData
impl RxData
Sourcepub fn fcnt(&self) -> u16
pub fn fcnt(&self) -> u16
Returns the low 16 bits of the frame counter the frame carried.
§Returns
The frame counter’s low half.
Sourcepub fn confirmed(&self) -> bool
pub fn confirmed(&self) -> bool
Reports whether the frame is a confirmed frame that expects an acknowledgement.
§Returns
true for a confirmed frame.
Trait Implementations§
impl Copy for RxData
impl Eq for RxData
impl StructuralPartialEq for RxData
Auto Trait Implementations§
impl Freeze for RxData
impl RefUnwindSafe for RxData
impl Send for RxData
impl Sync for RxData
impl Unpin for RxData
impl UnsafeUnpin for RxData
impl UnwindSafe for RxData
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more