pub trait HTControl {
// Required methods
async fn commit_learned_ir_codes(
&self,
request: CommitLearnedIrCodesRequest,
) -> Result<()>;
async fn get_ir_repeater_state(&self) -> Result<GetIrRepeaterStateResponse>;
async fn get_led_feedback_state(
&self,
) -> Result<GetLedFeedbackStateResponse>;
async fn identify_ir_remote(
&self,
request: IdentifyIrRemoteRequest,
) -> Result<()>;
async fn is_remote_configured(&self) -> Result<IsRemoteConfiguredResponse>;
async fn learn_ir_code(&self, request: LearnIrCodeRequest) -> Result<()>;
async fn set_ir_repeater_state(
&self,
request: SetIrRepeaterStateRequest,
) -> Result<()>;
async fn set_led_feedback_state(
&self,
request: SetLedFeedbackStateRequest,
) -> Result<()>;
}Expand description
Service related to the TV remote control
Required Methods§
async fn commit_learned_ir_codes( &self, request: CommitLearnedIrCodesRequest, ) -> Result<()>
async fn get_ir_repeater_state(&self) -> Result<GetIrRepeaterStateResponse>
async fn get_led_feedback_state(&self) -> Result<GetLedFeedbackStateResponse>
async fn identify_ir_remote( &self, request: IdentifyIrRemoteRequest, ) -> Result<()>
async fn is_remote_configured(&self) -> Result<IsRemoteConfiguredResponse>
async fn learn_ir_code(&self, request: LearnIrCodeRequest) -> Result<()>
async fn set_ir_repeater_state( &self, request: SetIrRepeaterStateRequest, ) -> Result<()>
async fn set_led_feedback_state( &self, request: SetLedFeedbackStateRequest, ) -> Result<()>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.