Module xidlehook_core::timers[][src]

The timer trait and some useful implementations

Structs

CallbackTimer

A timer that lets you easily execute a rust callback on activation

CmdTimer

A simple timer that runs a binary executable after a certain amount of time

Traits

Timer

The timer trait is used to tell xidlehook after how much idle time your timer should activate (relatively), and what activation actually means. It also provides you with the ability to implement what happens when the next timer is activated, and also to disable the timer.