[][src]Crate xidlehook_core

Instead of implementing your extension as something that communicates with xidlehook, what about implementing your extension as something that is xidlehook?

This library lets you create your own xidlehook front-end using a powerful timer and module system.

Re-exports

pub use self::modules::Module;
pub use self::modules::Progress;
pub use self::timers::Timer;

Modules

modules

The module trait and some useful implementations such as combinators

timers

The timer trait and some useful implementations

Structs

TimerInfo

An identifier for a timer, based on the index in the timer list and its length.

Xidlehook

The main xidlehook instance that allows you to schedule things

Enums

Action

Return value of poll, which specifies what one should do next: sleep, wait forever (until client modifies the xidlehook instance),

Type Definitions

Error

The default error type for xidlehook. Unfortunately, it's a dynamic type for now.

Result

An alias to Result which overrides the default Error type.