Trait wasmtime_wasi::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§