fidl_fuchsia_hardware_light

Trait LightProxyInterface

Source
pub trait LightProxyInterface: Send + Sync {
Show 32 associated items type GetNumLightsResponseFut: Future<Output = Result<u32, Error>> + Send; type GetNumLightGroupsResponseFut: Future<Output = Result<u32, Error>> + Send; type GetInfoResponseFut: Future<Output = Result<LightGetInfoResult, Error>> + Send; type GetCurrentSimpleValueResponseFut: Future<Output = Result<LightGetCurrentSimpleValueResult, Error>> + Send; type SetSimpleValueResponseFut: Future<Output = Result<LightSetSimpleValueResult, Error>> + Send; type GetCurrentBrightnessValueResponseFut: Future<Output = Result<LightGetCurrentBrightnessValueResult, Error>> + Send; type SetBrightnessValueResponseFut: Future<Output = Result<LightSetBrightnessValueResult, Error>> + Send; type GetCurrentRgbValueResponseFut: Future<Output = Result<LightGetCurrentRgbValueResult, Error>> + Send; type SetRgbValueResponseFut: Future<Output = Result<LightSetRgbValueResult, Error>> + Send; type GetGroupInfoResponseFut: Future<Output = Result<LightGetGroupInfoResult, Error>> + Send; type GetGroupCurrentSimpleValueResponseFut: Future<Output = Result<LightGetGroupCurrentSimpleValueResult, Error>> + Send; type SetGroupSimpleValueResponseFut: Future<Output = Result<LightSetGroupSimpleValueResult, Error>> + Send; type GetGroupCurrentBrightnessValueResponseFut: Future<Output = Result<LightGetGroupCurrentBrightnessValueResult, Error>> + Send; type SetGroupBrightnessValueResponseFut: Future<Output = Result<LightSetGroupBrightnessValueResult, Error>> + Send; type GetGroupCurrentRgbValueResponseFut: Future<Output = Result<LightGetGroupCurrentRgbValueResult, Error>> + Send; type SetGroupRgbValueResponseFut: Future<Output = Result<LightSetGroupRgbValueResult, Error>> + Send; // Required methods fn get_num_lights(&self) -> Self::GetNumLightsResponseFut; fn get_num_light_groups(&self) -> Self::GetNumLightGroupsResponseFut; fn get_info(&self, index: u32) -> Self::GetInfoResponseFut; fn get_current_simple_value( &self, index: u32, ) -> Self::GetCurrentSimpleValueResponseFut; fn set_simple_value( &self, index: u32, value: bool, ) -> Self::SetSimpleValueResponseFut; fn get_current_brightness_value( &self, index: u32, ) -> Self::GetCurrentBrightnessValueResponseFut; fn set_brightness_value( &self, index: u32, value: f64, ) -> Self::SetBrightnessValueResponseFut; fn get_current_rgb_value( &self, index: u32, ) -> Self::GetCurrentRgbValueResponseFut; fn set_rgb_value( &self, index: u32, value: &Rgb, ) -> Self::SetRgbValueResponseFut; fn get_group_info(&self, group_id: u32) -> Self::GetGroupInfoResponseFut; fn get_group_current_simple_value( &self, group_id: u32, ) -> Self::GetGroupCurrentSimpleValueResponseFut; fn set_group_simple_value( &self, group_id: u32, values: &[bool], ) -> Self::SetGroupSimpleValueResponseFut; fn get_group_current_brightness_value( &self, group_id: u32, ) -> Self::GetGroupCurrentBrightnessValueResponseFut; fn set_group_brightness_value( &self, group_id: u32, values: &[f64], ) -> Self::SetGroupBrightnessValueResponseFut; fn get_group_current_rgb_value( &self, group_id: u32, ) -> Self::GetGroupCurrentRgbValueResponseFut; fn set_group_rgb_value( &self, group_id: u32, values: &[Rgb], ) -> Self::SetGroupRgbValueResponseFut;
}

Required Associated Types§

Source

type GetNumLightsResponseFut: Future<Output = Result<u32, Error>> + Send

Source

type GetNumLightGroupsResponseFut: Future<Output = Result<u32, Error>> + Send

Source

type GetInfoResponseFut: Future<Output = Result<LightGetInfoResult, Error>> + Send

Source

type GetCurrentSimpleValueResponseFut: Future<Output = Result<LightGetCurrentSimpleValueResult, Error>> + Send

Source

type SetSimpleValueResponseFut: Future<Output = Result<LightSetSimpleValueResult, Error>> + Send

Source

type GetCurrentBrightnessValueResponseFut: Future<Output = Result<LightGetCurrentBrightnessValueResult, Error>> + Send

Source

type SetBrightnessValueResponseFut: Future<Output = Result<LightSetBrightnessValueResult, Error>> + Send

Source

type GetCurrentRgbValueResponseFut: Future<Output = Result<LightGetCurrentRgbValueResult, Error>> + Send

Source

type SetRgbValueResponseFut: Future<Output = Result<LightSetRgbValueResult, Error>> + Send

Source

type GetGroupInfoResponseFut: Future<Output = Result<LightGetGroupInfoResult, Error>> + Send

Source

type GetGroupCurrentSimpleValueResponseFut: Future<Output = Result<LightGetGroupCurrentSimpleValueResult, Error>> + Send

Source

type SetGroupSimpleValueResponseFut: Future<Output = Result<LightSetGroupSimpleValueResult, Error>> + Send

Source

type GetGroupCurrentBrightnessValueResponseFut: Future<Output = Result<LightGetGroupCurrentBrightnessValueResult, Error>> + Send

Source

type SetGroupBrightnessValueResponseFut: Future<Output = Result<LightSetGroupBrightnessValueResult, Error>> + Send

Source

type GetGroupCurrentRgbValueResponseFut: Future<Output = Result<LightGetGroupCurrentRgbValueResult, Error>> + Send

Source

type SetGroupRgbValueResponseFut: Future<Output = Result<LightSetGroupRgbValueResult, Error>> + Send

Required Methods§

Source

fn get_num_lights(&self) -> Self::GetNumLightsResponseFut

Source

fn get_num_light_groups(&self) -> Self::GetNumLightGroupsResponseFut

Source

fn get_info(&self, index: u32) -> Self::GetInfoResponseFut

Source

fn get_current_simple_value( &self, index: u32, ) -> Self::GetCurrentSimpleValueResponseFut

Source

fn set_simple_value( &self, index: u32, value: bool, ) -> Self::SetSimpleValueResponseFut

Source

fn get_current_brightness_value( &self, index: u32, ) -> Self::GetCurrentBrightnessValueResponseFut

Source

fn set_brightness_value( &self, index: u32, value: f64, ) -> Self::SetBrightnessValueResponseFut

Source

fn get_current_rgb_value( &self, index: u32, ) -> Self::GetCurrentRgbValueResponseFut

Source

fn set_rgb_value(&self, index: u32, value: &Rgb) -> Self::SetRgbValueResponseFut

Source

fn get_group_info(&self, group_id: u32) -> Self::GetGroupInfoResponseFut

Source

fn get_group_current_simple_value( &self, group_id: u32, ) -> Self::GetGroupCurrentSimpleValueResponseFut

Source

fn set_group_simple_value( &self, group_id: u32, values: &[bool], ) -> Self::SetGroupSimpleValueResponseFut

Source

fn get_group_current_brightness_value( &self, group_id: u32, ) -> Self::GetGroupCurrentBrightnessValueResponseFut

Source

fn set_group_brightness_value( &self, group_id: u32, values: &[f64], ) -> Self::SetGroupBrightnessValueResponseFut

Source

fn get_group_current_rgb_value( &self, group_id: u32, ) -> Self::GetGroupCurrentRgbValueResponseFut

Source

fn set_group_rgb_value( &self, group_id: u32, values: &[Rgb], ) -> Self::SetGroupRgbValueResponseFut

Implementors§