pub enum FRMPayload<'a> {
Data(&'a [u8]),
MACCommands(FRMMacCommands<'a>),
None,
}Expand description
FRMPayload represents the FRMPayload that can either be the application data or mac commands.
Variants§
Trait Implementations§
Source§impl<'a> Debug for FRMPayload<'a>
impl<'a> Debug for FRMPayload<'a>
impl<'a> Eq for FRMPayload<'a>
Source§impl<'a> PartialEq for FRMPayload<'a>
impl<'a> PartialEq for FRMPayload<'a>
Source§fn eq(&self, other: &FRMPayload<'a>) -> bool
fn eq(&self, other: &FRMPayload<'a>) -> bool
Tests for
self and other values to be equal, and is used by ==.impl<'a> StructuralPartialEq for FRMPayload<'a>
Auto Trait Implementations§
impl<'a> Freeze for FRMPayload<'a>
impl<'a> RefUnwindSafe for FRMPayload<'a>
impl<'a> Send for FRMPayload<'a>
impl<'a> Sync for FRMPayload<'a>
impl<'a> Unpin for FRMPayload<'a>
impl<'a> UnsafeUnpin for FRMPayload<'a>
impl<'a> UnwindSafe for FRMPayload<'a>
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