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

Method from_nanoseconds

clock-bound/src/daemon/time/inner/string_parse.rs:63–65  ·  view source on GitHub ↗
(nanos: i128)

Source from the content-addressed store, hash-verified

61 fn from_nanoseconds(nanos: i64) -> Self {
62 Self::from_nanos(nanos)
63 }
64}
65
66impl<T: super::NanoType + Copy> DurationParse for super::Diff<T> {
67 fn from_nanoseconds(nanos: i64) -> Self {
68 Self::from_nanos(nanos)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected