async fn update_brightness(
        &self,
        info: DisplayInfo,
        client: &ClientProxy,
        _: bool,
    ) -> SettingHandlerResult {
        let nonce = fuchsia_trace::generate_nonce();
        if !info.is_finite() {
            return Err(ControllerError::InvalidArgument(
                SettingType::Display,
                "display_info".into(),
                format!("{:?}", info).into(),
            ));
        }
        client.write_setting(info.into(), nonce).await.into_handler_result()
    }
// This does not send the brightness value on anywhere, it simply stores it.
// External services will pick up the value and set it on the brightness manager.
This does not send the brightness value on anywhere, it simply stores it.
External services will pick up the value and set it on the brightness manager.
This does not send the brightness value on anywhere it simply stores it . External services will pick up the value and set it on the brightness manager .
async fn update_brightness(
        &self,
        info: DisplayInfo,
        client: &ClientProxy,
        _: bool,
    ) -> SettingHandlerResult {
        let nonce = fuchsia_trace::generate_nonce();
        if !info.is_finite() {
            return Err(ControllerError::InvalidArgument(
                SettingType::Display,
                "display_info".into(),
                format!("{:?}", info).into(),
            ));
        }
        client.write_setting(info.into(), nonce).await.into_handler_result()
    }
async fn update_brightness ( & self , info : DisplayInfo , client : & ClientProxy , _ : bool , ) -> SettingHandlerResult { let nonce = fuchsia_trace :: generate_nonce ( ) ; if ! info . is_finite ( ) { return Err ( ControllerError :: InvalidArgument ( SettingType :: Display , " " . into ( ) , format ! ( " " info ) . into ( ) , ) ) ; } client . write_setting ( info . into ( ) , nonce ) . await . into_handler_result ( ) }
This does not send the brightness value on anywhere, it simply stores it.
This does not send the brightness value on anywhere it simply stores it .
&self
info
DisplayInfo
client
bool
&self
info
DisplayInfo
client
bool