pub struct Csl<T: AsRef<[u8]>> { /* private fields */ }Expand description
CSL Header Information Element.
Implementations§
Source§impl<T: AsRef<[u8]>> Csl<T>
impl<T: AsRef<[u8]>> Csl<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 csl_period(&self) -> u16
pub fn csl_period(&self) -> u16
Return the CSL period field value.
Sourcepub fn rendezvous_time(&self) -> Option<u16>
pub fn rendezvous_time(&self) -> Option<u16>
Return the rendezvous time field value.
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for Csl<T>where
T: Freeze,
impl<T> RefUnwindSafe for Csl<T>where
T: RefUnwindSafe,
impl<T> Send for Csl<T>where
T: Send,
impl<T> Sync for Csl<T>where
T: Sync,
impl<T> Unpin for Csl<T>where
T: Unpin,
impl<T> UnwindSafe for Csl<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