Skip to main content

InputReportsReaderV2ServerHandler

Trait InputReportsReaderV2ServerHandler 

Source
pub trait InputReportsReaderV2ServerHandler<___T: Transport = Channel> {
    // Required method
    fn acknowledge_reports(
        &mut self,
        request: Request<AcknowledgeReports, ___T>,
    ) -> impl Future<Output = ()> + Send;

    // Provided method
    fn on_unknown_interaction(
        &mut self,
        ordinal: u64,
    ) -> impl Future<Output = ()> + Send { ... }
}
Expand description

A server handler for the InputReportsReaderV2 protocol.

See InputReportsReaderV2 for more details.

Required Methods§

Source

fn acknowledge_reports( &mut self, request: Request<AcknowledgeReports, ___T>, ) -> impl Future<Output = ()> + Send

The client has processed events up to last_acknowledged_report_stamp. All reports sent with a last_report_stamp less than or equal to last_acknowledged_report_stamp will be considered acknowledged, and therefore will not count towards the max_unacknowledged_reports limit.

Provided Methods§

Source

fn on_unknown_interaction( &mut self, ordinal: u64, ) -> impl Future<Output = ()> + Send

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§