Module timer

Module timer 

Source
Expand description

A common code for the timer setup.

Re-exports§

pub use super::linux::timer_fd_linux::*;

Structs§

AbsoluteTime
An absolute time which are binded to the system’s clock and never be zero except when timer is reset.
RelativeTime
A relative time i.e time which is not binded to the system’s clock.
TimerFlags
Flags controling the type of the timer type.
TimerSetTimeFlags
A bit mask that can include the values.
itimerspec
timespec

Enums§

TimerExpMode
A timer expiry modes. Not every OS supports every mode. Read comments for the OS specific timer. For the nanoseconds param the max value is 999_999_999 for most OSes.
TimerReadRes
A timer FD read operation result.
TimerType
A timer type

Traits§

FdTimerCom
A common trait which is implemented by all timer realizationss for different OSes.
ModeTimeType
A trait which defines a standart interface for the different time types i.e