pub struct TimeSynchronizationSpecification<T: AsRef<[u8]>> { /* private fields */ }
Expand description
Time Synchronization Specification Header Information Element.
Implementations§
Source§impl<T: AsRef<[u8]>> TimeSynchronizationSpecification<T>
impl<T: AsRef<[u8]>> TimeSynchronizationSpecification<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 beacon_timestamp(&self) -> &[u8]
pub fn beacon_timestamp(&self) -> &[u8]
Return the beacon timestamp field value.
Sourcepub fn beacon_offset_timestamp(&self) -> u16
pub fn beacon_offset_timestamp(&self) -> u16
Return the beacon offset timestamp field value.
Auto Trait Implementations§
impl<T> Freeze for TimeSynchronizationSpecification<T>where
T: Freeze,
impl<T> RefUnwindSafe for TimeSynchronizationSpecification<T>where
T: RefUnwindSafe,
impl<T> Send for TimeSynchronizationSpecification<T>where
T: Send,
impl<T> Sync for TimeSynchronizationSpecification<T>where
T: Sync,
impl<T> Unpin for TimeSynchronizationSpecification<T>where
T: Unpin,
impl<T> UnwindSafe for TimeSynchronizationSpecification<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