/// Processes the new set of system power modes for each client.
///
/// This function takes the new set of system power modes and simply passes it through to each
/// contained `ClientState` entry.
Processes the new set of system power modes for each client.
This function takes the new set of system power modes and simply passes it through to each
contained `ClientState` entry.
Processes the new set of system power modes for each client . This function takes the new set of system power modes and simply passes it through to each contained ` ClientState ` entry .
fn process_system_power_modes_changed(&self, system_power_modes: &HashSet<SystemMode>) {
        fuchsia_trace::duration!(
            "power_manager",
            "SystemPowerModeHandler::process_system_power_modes_changed"
        );
        self.states.borrow_mut().values_mut().for_each(|client_state| {
            client_state.process_system_power_modes_changed(system_power_modes)
        });
    }
fn process_system_power_modes_changed ( & self , system_power_modes : & HashSet < SystemMode > ) { fuchsia_trace :: duration ! ( " " " " ) ; self . states . borrow_mut ( ) . values_mut ( ) . for_each ( | client_state | { client_state . process_system_power_modes_changed ( system_power_modes ) } ) ; }
Processes the new set of system power modes for each client.
Processes the new set of system power modes for each client .
&self
system_power_modes
&HashSet<SystemMode>