pub trait ServiceHandler {
// Required method
fn input_device(&self, server_end: ServerEnd<InputDevice, Channel>);
}Expand description
A service handler for the Service service.
Required Methods§
Sourcefn input_device(&self, server_end: ServerEnd<InputDevice, Channel>)
fn input_device(&self, server_end: ServerEnd<InputDevice, Channel>)
Handles an attempt to connect to the input_device member.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".