Skip to main content

InputReportsReaderV2LocalServerHandler

Trait InputReportsReaderV2LocalServerHandler 

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

    // Provided method
    fn on_unknown_interaction(
        &mut self,
        ordinal: u64,
    ) -> impl Future<Output = ()> { ... }
}
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 = ()>

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 = ()>

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementations on Foreign Types§

Source§

impl<___H, ___T> InputReportsReaderV2LocalServerHandler<___T> for Local<___H>
where ___H: InputReportsReaderV2ServerHandler<___T>, ___T: Transport,

Source§

async fn acknowledge_reports( &mut self, request: Request<AcknowledgeReports, ___T>, )

Source§

async fn on_unknown_interaction(&mut self, ordinal: u64)

Implementors§