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

Method fmt

clock-bound/src/daemon/selected_clock.rs:108–111  ·  view source on GitHub ↗
(&self, f: &mut std::fmt::Formatter<'_>)

Source from the content-addressed store, hash-verified

106
107impl Display for SelectedClockSource {
108 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
109 let (source, stratum) = self.get();
110 write!(f, "{} (stratum {})", source, u8::from(stratum))
111 }
112}
113
114impl Default for SelectedClockSource {

Callers

nothing calls this directly

Calls 1

getMethod · 0.45

Tested by

no test coverage detected