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

Method from

clock-bound/src/shm.rs:232–237  ·  view source on GitHub ↗
(value: ClockErrorBoundLayoutVersion)

Source from the content-addressed store, hash-verified

230
231impl From<ClockErrorBoundLayoutVersion> for u16 {
232 fn from(value: ClockErrorBoundLayoutVersion) -> Self {
233 match value {
234 ClockErrorBoundLayoutVersion::V2 => 2,
235 ClockErrorBoundLayoutVersion::V3 => 3,
236 }
237 }
238}
239
240/// Result of the `ClockBoundClient::now()` function.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected