Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/endbasic/endbasic
/ monotonic
Method
monotonic
std/src/datetime.rs:57–59 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
55
#[async_trait(?Send)]
56
impl DateTime for SystemDateTime {
57
fn monotonic(&self) -> Duration {
58
self.epoch.elapsed()
59
}
60
61
async fn sleep(&self, d: Duration) -> Result<(), String> {
62
thread::sleep(d);
Callers
1
exec
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected