Expand description
A common code for the timer setup.
Structs§
- Absolute
Time - An
absolutetime which are binded to the system’s clock and never be zero except when timer is reset. - Relative
Time - A
relativetime i.e time which is not binded to the system’s clock. - TimerFd
- A common abstract type for the timer which is a main instance.
- TimerId
- A unified timer identification instance which can be used to identify the timers.
Enums§
- Timer
ExpMode - A timer expiry modes. Not every OS supports
every mode. Read comments for the OS specific
timer. For the
nanosecondsparam the max value is 999_999_999 for most OSes. - Timer
Read Res - A timer FD read operation result.
Traits§
- AsTimer
Id - A trait which provides a standart interface to aquire the TimerId which is a unification of the timer instance identification.
- FdTimer
Com - A common trait which is implemented by all timer realizationss for different OSes.
- FdTimer
Marker - A super trait which implements a marker for the
timer pollsubsystem. - FdTimer
Read - A super trait which is used on timers for executing the reading code of the timer.
- Mode
Time Type - A super trait which defines a standart interface for the different time types i.e