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

Interface Clock

clock-bound/src/daemon/time/inner.rs:58–61  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

56}
57
58#[cfg_attr(test, mockall::automock)]
59pub trait Clock<T: Type + Copy> {
60 /// Read the current clock time.
61 fn get_time(&self) -> Time<T>;
62}
63
64/// Extension trait for Clock that provides offset and RTT measurement functionality

Callers

nothing calls this directly

Implementers 1

clocks.rsclock-bound/src/daemon/time/clocks.rs

Calls

no outgoing calls

Tested by

no test coverage detected