[][src]Function async_timer::timer::set_resolution

pub fn set_resolution(_resolution: Duration)

Sets globally resolution, used by timers.

Does nothing if platform provides no way to control resolution.

Following is set:

  • Windows allows to set resolution within range [0..u32::max_value()]