MCPcopy Create free account
hub / github.com/PLSysSec/wave / new

Method new

src/types/mod.rs:430–432  ·  view source on GitHub ↗
(nsec: u64)

Source from the content-addressed store, hash-verified

428
429impl Timestamp {
430 pub fn new(nsec: u64) -> Timestamp {
431 Timestamp(nsec)
432 }
433
434 pub fn max() -> Timestamp {
435 Timestamp(u64::MAX)

Callers

nothing calls this directly

Calls 4

TimestampClass · 0.85
LookupFlagsClass · 0.85
OFlagsClass · 0.85
SdFlagsClass · 0.85

Tested by

no test coverage detected