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

Method checked_sub

src/types/mod.rs:473–475  ·  view source on GitHub ↗
(self, rhs: Self)

Source from the content-addressed store, hash-verified

471 }
472
473 pub fn checked_sub(self, rhs: Self) -> Option<Self> {
474 self.0.checked_sub(rhs.0).map(|res| Timestamp(res))
475 }
476}
477
478impl From<libc::timespec> for Timestamp {

Callers 1

poll_parse_clockFunction · 0.80

Calls 1

TimestampClass · 0.85

Tested by

no test coverage detected