Skip to main content

InputDeviceLocalServerHandler

Trait InputDeviceLocalServerHandler 

Source
pub trait InputDeviceLocalServerHandler<___T = Channel>
where ___T: Transport,
{ // Required method fn dispatch_report( &mut self, request: Request<DispatchReport, ___T>, ) -> impl Future<Output = ()>; }
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 = ()>

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".

Implementations on Foreign Types§

Source§

impl<___H, ___T> InputDeviceLocalServerHandler<___T> for Local<___H>
where ___H: InputDeviceServerHandler<___T>, ___T: Transport,

Source§

async fn dispatch_report(&mut self, request: Request<DispatchReport, ___T>)

Implementors§