pub struct ChannelHoppingSpecification<T: AsRef<[u8]>> { /* private fields */ }Expand description
Channel Hopping Specification Header Information Element.
Implementations§
Source§impl<T: AsRef<[u8]>> ChannelHoppingSpecification<T>
impl<T: AsRef<[u8]>> ChannelHoppingSpecification<T>
Sourcepub fn new_unchecked(buffer: T) -> Self
pub fn new_unchecked(buffer: T) -> Self
Create a new [#name] reader/writer from a given buffer without length checking.
Sourcepub fn hopping_sequence_id(&self) -> u8
pub fn hopping_sequence_id(&self) -> u8
Return the hopping sequence ID field value.
Sourcepub fn pan_coordinator_bsn(&self) -> u8
pub fn pan_coordinator_bsn(&self) -> u8
Return the PAN coordinator BSN field value.
Sourcepub fn channel_offset(&self) -> u16
pub fn channel_offset(&self) -> u16
Return the channel offset field value.
Sourcepub fn channel_offset_bitmap_length(&self) -> u8
pub fn channel_offset_bitmap_length(&self) -> u8
Return the channel offset bitmap length field value.
Sourcepub fn channel_offset_bitmap(&self) -> &[u8]
pub fn channel_offset_bitmap(&self) -> &[u8]
Return the channel offset bitmap field value.
Auto Trait Implementations§
impl<T> Freeze for ChannelHoppingSpecification<T>where
T: Freeze,
impl<T> RefUnwindSafe for ChannelHoppingSpecification<T>where
T: RefUnwindSafe,
impl<T> Send for ChannelHoppingSpecification<T>where
T: Send,
impl<T> Sync for ChannelHoppingSpecification<T>where
T: Sync,
impl<T> Unpin for ChannelHoppingSpecification<T>where
T: Unpin,
impl<T> UnwindSafe for ChannelHoppingSpecification<T>where
T: 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