Function insomnia::manager [−][src]
pub fn manager(
) -> Result<InhibitionManager, <InhibitionManager as InhibitionManager>::Error>
Expand description
Constructs a new InhibitionManager
for the current platform.
pub fn manager(
) -> Result<InhibitionManager, <InhibitionManager as InhibitionManager>::Error>
Constructs a new InhibitionManager
for the current platform.