Skip to main content

Module time_compat

Module time_compat 

Source
Expand description

Cross-platform time utilities for native and WASM targets Cross-platform time utilities for native and WASM targets

This module provides a unified Instant type that works across both native (std::time::Instant) and WASM (web_time::Instant) targets.

Structsยง

Instant
A measurement of a monotonically nondecreasing clock. Opaque and useful only with Duration.