Trait wasmtime_wasi::preview2::HostWallClock

source ·
pub trait HostWallClock: Send {
    // Required methods
    fn resolution(&self) -> Duration;
    fn now(&self) -> Duration;
}

Required Methods§

source

fn resolution(&self) -> Duration

source

fn now(&self) -> Duration

Implementors§