Struct lorawan::maccommands::Redundancy
source · pub struct Redundancy(/* private fields */);
Expand description
Redundancy represents the LinkADRReq Redundancy from LoRaWAN.
Implementations§
source§impl Redundancy
impl Redundancy
sourcepub fn channel_mask_control(&self) -> u8
pub fn channel_mask_control(&self) -> u8
Controls the interpretation of the previously defined ChannelMask bit mask.
sourcepub fn number_of_transmissions(&self) -> u8
pub fn number_of_transmissions(&self) -> u8
How many times each message should be repeated.
Trait Implementations§
source§impl Debug for Redundancy
impl Debug for Redundancy
source§impl From<u8> for Redundancy
impl From<u8> for Redundancy
source§impl PartialEq for Redundancy
impl PartialEq for Redundancy
source§fn eq(&self, other: &Redundancy) -> bool
fn eq(&self, other: &Redundancy) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for Redundancy
impl StructuralEq for Redundancy
impl StructuralPartialEq for Redundancy
Auto Trait Implementations§
impl RefUnwindSafe for Redundancy
impl Send for Redundancy
impl Sync for Redundancy
impl Unpin for Redundancy
impl UnwindSafe for Redundancy
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