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

Method nsec

src/types/mod.rs:469–471  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

467 }
468
469 pub fn nsec(&self) -> u64 {
470 self.0
471 }
472
473 pub fn checked_sub(self, rhs: Self) -> Option<Self> {
474 self.0.checked_sub(rhs.0).map(|res| Timestamp(res))

Calls

no outgoing calls

Tested by

no test coverage detected