pub enum InterruptTime {}Expand description
Interrupt time: 100 ns ticks since this boot began, including time asleep or hibernating.
Zero is the start of the boot. On a checked (“debug”) build of Windows the count starts about 49 days ahead, so that code which mishandles long uptimes fails early; a point is still valid there, only larger. This is the workspace’s one time base (DI-D-37).
Trait Implementations§
Source§impl Timeline for InterruptTime
impl Timeline for InterruptTime
Source§fn ticks_per_second() -> NonZeroU64
fn ticks_per_second() -> NonZeroU64
How many ticks make one second. It must not change for the life of the process.
Auto Trait Implementations§
impl Freeze for InterruptTime
impl RefUnwindSafe for InterruptTime
impl Send for InterruptTime
impl Sync for InterruptTime
impl Unpin for InterruptTime
impl UnsafeUnpin for InterruptTime
impl UnwindSafe for InterruptTime
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more