pub struct TschSlotframeAndLinkRepr {
pub number_of_slot_frames: u8,
}Expand description
A high-level representation of a TSCH Slotframe and Link Nested Information Element.
Fields§
§number_of_slot_frames: u8The number of slotframes.
Implementations§
Source§impl TschSlotframeAndLinkRepr
impl TschSlotframeAndLinkRepr
Sourcepub fn parse(ie: &TschSlotframeAndLink<&[u8]>) -> Self
pub fn parse(ie: &TschSlotframeAndLink<&[u8]>) -> Self
Parse a TSCH Slotframe and Link Information Element.
Sourcepub fn buffer_len(&self) -> usize
pub fn buffer_len(&self) -> usize
The buffer length required to emit the TSCH Slotframe and Link Information Element.
Sourcepub fn emit(&self, ie: &mut TschSlotframeAndLink<&mut [u8]>)
pub fn emit(&self, ie: &mut TschSlotframeAndLink<&mut [u8]>)
Emit the TSCH Slotframe and Link Information Element into a buffer.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TschSlotframeAndLinkRepr
impl RefUnwindSafe for TschSlotframeAndLinkRepr
impl Send for TschSlotframeAndLinkRepr
impl Sync for TschSlotframeAndLinkRepr
impl Unpin for TschSlotframeAndLinkRepr
impl UnwindSafe for TschSlotframeAndLinkRepr
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