Enum lorawan::parser::PhyPayload
source · pub enum PhyPayload<T, F> {
JoinRequest(JoinRequestPayload<T, F>),
JoinAccept(JoinAcceptPayload<T, F>),
Data(DataPayload<T, F>),
}
Expand description
PhyPayload is a type that represents a physical LoRaWAN payload.
It can either be JoinRequest, JoinAccept, or DataPayload.
Variants§
Trait Implementations§
source§impl<T: Format, F> Format for PhyPayload<T, F>
impl<T: Format, F> Format for PhyPayload<T, F>
impl<T: Eq, F: Eq> Eq for PhyPayload<T, F>
impl<T, F> StructuralPartialEq for PhyPayload<T, F>
Auto Trait Implementations§
impl<T, F> Freeze for PhyPayload<T, F>
impl<T, F> RefUnwindSafe for PhyPayload<T, F>where
T: RefUnwindSafe,
F: RefUnwindSafe,
impl<T, F> Send for PhyPayload<T, F>
impl<T, F> Sync for PhyPayload<T, F>
impl<T, F> Unpin for PhyPayload<T, F>
impl<T, F> UnwindSafe for PhyPayload<T, F>where
T: UnwindSafe,
F: UnwindSafe,
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
source§impl<T> ToHex for T
impl<T> ToHex for T
source§fn encode_hex<U>(&self) -> Uwhere
U: FromIterator<char>,
fn encode_hex<U>(&self) -> Uwhere
U: FromIterator<char>,
Encode the hex strict representing
self
into the result. Lower case
letters are used (e.g. f9b4ca
)source§fn encode_hex_upper<U>(&self) -> Uwhere
U: FromIterator<char>,
fn encode_hex_upper<U>(&self) -> Uwhere
U: FromIterator<char>,
Encode the hex strict representing
self
into the result. Upper case
letters are used (e.g. F9B4CA
)