Expand description
A common code for the timer setup.
Re-exports§
pub use super::linux::timer_fd_linux::*;
Structs§
- Absolute
Time - An
absolute
time which are binded to the system’s clock and never be zero except when timer is reset. - Relative
Time - A
relative
time i.e time which is not binded to the system’s clock. - Timer
Flags - Flags controling the type of the timer type.
- Timer
SetTime Flags - A bit mask that can include the values.
- itimerspec
- timespec
Enums§
- Timer
ExpMode - 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. - Timer
Read Res - A timer FD read operation result.
- Timer
Type - A timer type
Traits§
- FdTimer
Com - A common trait which is implemented by all timer realizationss for different OSes.
- Mode
Time Type - A trait which defines a standart interface for the different time types i.e