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

Method from

test/clock-bound-client-generic/src/lib.rs:36–43  ·  view source on GitHub ↗
(value: clock_bound_client_v2::ClockStatus)

Source from the content-addressed store, hash-verified

34}
35impl From<clock_bound_client_v2::ClockStatus> for ClockStatus {
36 fn from(value: clock_bound_client_v2::ClockStatus) -> Self {
37 match value {
38 clock_bound_client_v2::ClockStatus::Unknown => Self::Unknown,
39 clock_bound_client_v2::ClockStatus::Synchronized => Self::Synchronized,
40 clock_bound_client_v2::ClockStatus::FreeRunning => Self::FreeRunning,
41 clock_bound_client_v2::ClockStatus::Disrupted => Self::Disrupted,
42 }
43 }
44}
45impl From<clock_bound_client_v3::ClockStatus> for ClockStatus {
46 fn from(value: clock_bound_client_v3::ClockStatus) -> Self {

Callers

nothing calls this directly

Calls 1

timespec_to_nsecsFunction · 0.85

Tested by

no test coverage detected