pub trait ClockReader: Send + Sync {
// Required method
fn read_clock(&self) -> Option<ClockFrame>;
}Expand description
Synchronous read port for a coherent Device clock sample.
None means that no wall-clock frame is available. Implementations must
return all four fields from the same sample.
Required Methods§
Sourcefn read_clock(&self) -> Option<ClockFrame>
fn read_clock(&self) -> Option<ClockFrame>
Read one coherent frame, or report that no wall clock is available.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".