pub struct SimplifiedSuperframeSpecification<T: AsRef<[u8]>> { /* private fields */ }Expand description
A reader/writer for the IEEE 802.15.4 Simplified Superframe Specification Header Information Element.
Implementations§
Source§impl<T: AsRef<[u8]>> SimplifiedSuperframeSpecification<T>
impl<T: AsRef<[u8]>> SimplifiedSuperframeSpecification<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 superframe_specification(&self) -> Result<SuperframeSpecification<&[u8]>>
pub fn superframe_specification(&self) -> Result<SuperframeSpecification<&[u8]>>
Returns the superframe specification field value.
Sourcepub fn cfp_specification(&self) -> Result<CfpSpecification<&[u8]>>
pub fn cfp_specification(&self) -> Result<CfpSpecification<&[u8]>>
Returns the CFP specification field value.
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for SimplifiedSuperframeSpecification<T>where
T: Freeze,
impl<T> RefUnwindSafe for SimplifiedSuperframeSpecification<T>where
T: RefUnwindSafe,
impl<T> Send for SimplifiedSuperframeSpecification<T>where
T: Send,
impl<T> Sync for SimplifiedSuperframeSpecification<T>where
T: Sync,
impl<T> Unpin for SimplifiedSuperframeSpecification<T>where
T: Unpin,
impl<T> UnwindSafe for SimplifiedSuperframeSpecification<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