Trait wasmtime_wasi::preview2::clocks::WasiWallClock
source · pub trait WasiWallClock: Send + Sync {
// Required methods
fn resolution(&self) -> Duration;
fn now(&self) -> Duration;
}
pub trait WasiWallClock: Send + Sync {
// Required methods
fn resolution(&self) -> Duration;
fn now(&self) -> Duration;
}