Skip to main content

Crate servo_wakelock

Crate servo_wakelock 

Source
Expand description

Platform abstraction for the Screen Wake Lock API.

Defines WakeLockDelegate, a trait for acquiring and releasing OS-level wake locks. Platform-specific implementations will be added in follow-up work. For now, DefaultWakeLockDelegate is the only implementation and does nothing.

https://w3c.github.io/screen-wake-lock/

Structsยง

DefaultWakeLockDelegate
A no-op WakeLockDelegate used when no platform implementation is available. All operations succeed silently.