[][src]Crate insomnia

Modules

platform

Platform-specific types

Structs

EnumSet

An efficient set type for enums.

Enums

LockType

The type of power management operation to inhibit

Traits

InhibitionManager

Common trait implemented by all platform-specific inhibition managers

Lock

Inhibits a particular power management operation until the Lock is dropped.

Functions

manager

Constructs a new InhibitionManager for the current platform.