pub trait WakeLockSentinelMethods<D: DomTypes> { // Required methods fn Released(&self) -> bool; fn Type(&self) -> WakeLockType; }