Struct lorawan::maccommands::RXTimingSetupReqPayload
source · pub struct RXTimingSetupReqPayload<'a>(/* private fields */);
Expand description
RXTimingSetupReqPayload represents the RXTimingSetupReq LoRaWAN MACCommand.
Implementations§
source§impl<'a> RXTimingSetupReqPayload<'a>
impl<'a> RXTimingSetupReqPayload<'a>
sourcepub fn new(data: &'a [u8]) -> Result<RXTimingSetupReqPayload<'a>, Error>
pub fn new(data: &'a [u8]) -> Result<RXTimingSetupReqPayload<'a>, Error>
Creates a new instance of the MAC command if there is enought data.
sourcepub fn new_from_raw(data: &'a [u8]) -> RXTimingSetupReqPayload<'a>
pub fn new_from_raw(data: &'a [u8]) -> RXTimingSetupReqPayload<'a>
Constructs a new instance of the MAC command from the provided data, without verifying the data length.
Improper use of this method could lead to panic during runtime!
Trait Implementations§
source§impl<'a> Debug for RXTimingSetupReqPayload<'a>
impl<'a> Debug for RXTimingSetupReqPayload<'a>
source§impl<'a> Format for RXTimingSetupReqPayload<'a>
impl<'a> Format for RXTimingSetupReqPayload<'a>
source§impl<'a> PartialEq for RXTimingSetupReqPayload<'a>
impl<'a> PartialEq for RXTimingSetupReqPayload<'a>
impl<'a> Eq for RXTimingSetupReqPayload<'a>
impl<'a> StructuralPartialEq for RXTimingSetupReqPayload<'a>
Auto Trait Implementations§
impl<'a> Freeze for RXTimingSetupReqPayload<'a>
impl<'a> RefUnwindSafe for RXTimingSetupReqPayload<'a>
impl<'a> Send for RXTimingSetupReqPayload<'a>
impl<'a> Sync for RXTimingSetupReqPayload<'a>
impl<'a> Unpin for RXTimingSetupReqPayload<'a>
impl<'a> UnwindSafe for RXTimingSetupReqPayload<'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