fidl_fuchsia_input_report

Trait InputDeviceProxyInterface

Source
pub trait InputDeviceProxyInterface: Send + Sync {
    type GetDescriptorResponseFut: Future<Output = Result<DeviceDescriptor, Error>> + Send;
    type SendOutputReportResponseFut: Future<Output = Result<InputDeviceSendOutputReportResult, Error>> + Send;
    type GetFeatureReportResponseFut: Future<Output = Result<InputDeviceGetFeatureReportResult, Error>> + Send;
    type SetFeatureReportResponseFut: Future<Output = Result<InputDeviceSetFeatureReportResult, Error>> + Send;
    type GetInputReportResponseFut: Future<Output = Result<InputDeviceGetInputReportResult, Error>> + Send;

    // Required methods
    fn get_input_reports_reader(
        &self,
        reader: ServerEnd<InputReportsReaderMarker>,
    ) -> Result<(), Error>;
    fn get_descriptor(&self) -> Self::GetDescriptorResponseFut;
    fn send_output_report(
        &self,
        report: &OutputReport,
    ) -> Self::SendOutputReportResponseFut;
    fn get_feature_report(&self) -> Self::GetFeatureReportResponseFut;
    fn set_feature_report(
        &self,
        report: &FeatureReport,
    ) -> Self::SetFeatureReportResponseFut;
    fn get_input_report(
        &self,
        device_type: DeviceType,
    ) -> Self::GetInputReportResponseFut;
}

Required Associated Types§

Required Methods§

Implementors§