pub trait InputDeviceRegistryProxyInterface: Send + Sync {
type RegisterAndGetDeviceInfoResponseFut: Future<Output = Result<InputDeviceRegistryRegisterAndGetDeviceInfoResponse, Error>> + Send;
// Required methods
fn register(
&self,
device: ClientEnd<InputDeviceMarker>,
) -> Result<(), Error>;
fn register_and_get_device_info(
&self,
device: ClientEnd<InputDeviceMarker>,
) -> Self::RegisterAndGetDeviceInfoResponseFut;
}Required Associated Types§
type RegisterAndGetDeviceInfoResponseFut: Future<Output = Result<InputDeviceRegistryRegisterAndGetDeviceInfoResponse, Error>> + Send
Required Methods§
fn register(&self, device: ClientEnd<InputDeviceMarker>) -> Result<(), Error>
fn register_and_get_device_info( &self, device: ClientEnd<InputDeviceMarker>, ) -> Self::RegisterAndGetDeviceInfoResponseFut
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".