MCPcopy Create free account
hub / github.com/bytecodealliance/wstd / as_millis

Method as_millis

src/time/duration.rs:91–93  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

89 #[must_use]
90 #[inline]
91 pub const fn as_millis(&self) -> u128 {
92 (self.0 / 1_000_000) as u128
93 }
94
95 /// Returns the number of whole microseconds contained by this `Duration`.
96 #[must_use]

Callers 3

http_wait_responseFunction · 0.80
http_wait_bodyFunction · 0.80
http_stream_bodyFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected