InputDeviceRegistryProxyInterface

Trait InputDeviceRegistryProxyInterface 

Source
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§

Required Methods§

Implementors§