Trait wasmtime_wasi::preview2::HostMonotonicClock

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

Required Methods§

source

fn resolution(&self) -> u64

source

fn now(&self) -> u64

Implementors§