pub trait InputReportsReaderV2ClientHandler<___T: Transport = Channel> {
// Required method
fn on_input_reports(
&mut self,
request: Request<OnInputReports, ___T>,
) -> impl Future<Output = ()> + Send;
// Provided method
fn on_unknown_interaction(
&mut self,
ordinal: u64,
) -> impl Future<Output = ()> + Send { ... }
}Expand description
A client handler for the InputReportsReaderV2 protocol.
See InputReportsReaderV2 for more details.
Required Methods§
Sourcefn on_input_reports(
&mut self,
request: Request<OnInputReports, ___T>,
) -> impl Future<Output = ()> + Send
fn on_input_reports( &mut self, request: Request<OnInputReports, ___T>, ) -> impl Future<Output = ()> + Send
The device pushes events to the client.
The client does not need to acknowledge every report; it can allow multiple
reports to be in flight up to max_unacknowledged_reports.
Streaming begins automatically on connection.
Provided Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".