Skip to main content

InputDeviceServerHandler

Trait InputDeviceServerHandler 

Source
pub trait InputDeviceServerHandler<___T = Channel>
where ___T: Transport,
{ // Required method fn dispatch_report( &mut self, request: Request<DispatchReport, ___T>, ) -> impl Future<Output = ()> + Send; }
Expand description

A server handler for the InputDevice protocol.

See InputDevice for more details.

Required Methods§

Source

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

Dispatch an InputReport from the device token

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§