Enum lorawan::parser::FRMPayload
source · 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>
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
This method tests for
self
and other
values to be equal, and is used
by ==
.impl<'a> Eq for FRMPayload<'a>
impl<'a> StructuralEq for FRMPayload<'a>
impl<'a> StructuralPartialEq for FRMPayload<'a>
Auto Trait Implementations§
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> 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