MCPcopy Create free account
hub / github.com/aws/clock-bound / default

Method default

clock-bound/src/daemon/selected_clock.rs:115–121  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

113
114impl Default for SelectedClockSource {
115 fn default() -> Self {
116 let packed = (u64::from(u8::from(Stratum::Unspecified)) << 32)
117 | u64::from(u32::from(ClockSource::Init));
118 Self {
119 source_info: AtomicU64::new(packed),
120 }
121 }
122}
123
124/// Clock source types

Callers

nothing calls this directly

Calls 1

newFunction · 0.50

Tested by

no test coverage detected