pub struct ClockState { /* private fields */ }Expand description
The published result of the most recent burst.
Implementations§
Source§impl ClockState
impl ClockState
Sourcepub fn offset(&self) -> Option<f64>
pub fn offset(&self) -> Option<f64>
The most recent offset, or None before the first burst finishes.
Sourcepub fn uncertainty(&self) -> Option<f64>
pub fn uncertainty(&self) -> Option<f64>
The round-trip time of the kept estimate. liblsl calls this the
uncertainty (src/time_receiver.cpp:204).
Sourcepub fn mark_reset(&self)
pub fn mark_reset(&self)
Record that the connection reset, so the post-processor clears its fit.
Trait Implementations§
Source§impl Debug for ClockState
impl Debug for ClockState
Auto Trait Implementations§
impl !Freeze for ClockState
impl Forget for ClockState
impl Move for ClockState
impl RefUnwindSafe for ClockState
impl Send for ClockState
impl Sync for ClockState
impl Unpin for ClockState
impl UnsafeUnpin for ClockState
impl UnwindSafe for ClockState
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