pub fn clock_time_set(
ctx: FunctionEnvMut<'_, WasiEnv>,
clock_id: Snapshot0Clockid,
time: Timestamp,
) -> Result<Errno, WasiError>Expand description
ยงclock_time_set()
Set the time of the specified clock Inputs:
Clockid clock_idThe ID of the clock to queryTimestamp *timeThe value of the clock in nanoseconds