pub struct Fit {
pub generation: u64,
pub event: i64,
pub time: i64,
pub period: u64,
pub base_frequency: u32,
}Expand description
The recovered clock as a line: event event at gPTP time time, each
next one period on.
Fields§
§generation: u64Counts the times the clock started again: each start numbers its events afresh.
event: i64§time: i64§period: u64Nanoseconds from one event to the next, in 32.32 fixed point.
base_frequency: u32The clock’s nominal rate, in events a second.
Implementations§
Source§impl Fit
impl Fit
Trait Implementations§
impl Copy for Fit
impl Eq for Fit
impl StructuralPartialEq for Fit
Auto Trait Implementations§
impl Forget for Fit
impl Freeze for Fit
impl RefUnwindSafe for Fit
impl Send for Fit
impl Sync for Fit
impl Unpin for Fit
impl UnsafeUnpin for Fit
impl UnwindSafe for Fit
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