pub struct ChannelHoppingRepr {
pub hopping_sequence_id: u8,
}Expand description
A high-level representation of a Channel Hopping Nested Information Element.
Fields§
§hopping_sequence_id: u8The hopping sequence ID.
Implementations§
Source§impl ChannelHoppingRepr
impl ChannelHoppingRepr
Sourcepub fn parse(ie: &ChannelHopping<&[u8]>) -> Self
pub fn parse(ie: &ChannelHopping<&[u8]>) -> Self
Parse a Channel Hopping Information Element.
Sourcepub fn buffer_len(&self) -> usize
pub fn buffer_len(&self) -> usize
The buffer length required to emit the Channel Hopping Information Element.
Sourcepub fn emit(&self, ie: &mut ChannelHopping<&mut [u8]>)
pub fn emit(&self, ie: &mut ChannelHopping<&mut [u8]>)
Emit the Channel Hopping Information Element into a buffer.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ChannelHoppingRepr
impl RefUnwindSafe for ChannelHoppingRepr
impl Send for ChannelHoppingRepr
impl Sync for ChannelHoppingRepr
impl Unpin for ChannelHoppingRepr
impl UnwindSafe for ChannelHoppingRepr
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