pub trait RegistryProxyInterface: Send + Sync {
type RegisterTouchScreenResponseFut: Future<Output = Result<(), Error>> + Send;
type RegisterTouchScreenAndGetDeviceInfoResponseFut: Future<Output = Result<RegistryRegisterTouchScreenAndGetDeviceInfoResponse, Error>> + Send;
type RegisterMediaButtonsDeviceResponseFut: Future<Output = Result<(), Error>> + Send;
type RegisterMediaButtonsDeviceAndGetDeviceInfoResponseFut: Future<Output = Result<RegistryRegisterMediaButtonsDeviceAndGetDeviceInfoResponse, Error>> + Send;
type RegisterKeyboardResponseFut: Future<Output = Result<(), Error>> + Send;
type RegisterKeyboardAndGetDeviceInfoResponseFut: Future<Output = Result<RegistryRegisterKeyboardAndGetDeviceInfoResponse, Error>> + Send;
type RegisterMouseResponseFut: Future<Output = Result<(), Error>> + Send;
type RegisterMouseAndGetDeviceInfoResponseFut: Future<Output = Result<RegistryRegisterMouseAndGetDeviceInfoResponse, Error>> + Send;
// Required methods
fn register_touch_screen(
&self,
payload: RegistryRegisterTouchScreenRequest,
) -> Self::RegisterTouchScreenResponseFut;
fn register_touch_screen_and_get_device_info(
&self,
payload: RegistryRegisterTouchScreenAndGetDeviceInfoRequest,
) -> Self::RegisterTouchScreenAndGetDeviceInfoResponseFut;
fn register_media_buttons_device(
&self,
payload: RegistryRegisterMediaButtonsDeviceRequest,
) -> Self::RegisterMediaButtonsDeviceResponseFut;
fn register_media_buttons_device_and_get_device_info(
&self,
payload: RegistryRegisterMediaButtonsDeviceAndGetDeviceInfoRequest,
) -> Self::RegisterMediaButtonsDeviceAndGetDeviceInfoResponseFut;
fn register_keyboard(
&self,
payload: RegistryRegisterKeyboardRequest,
) -> Self::RegisterKeyboardResponseFut;
fn register_keyboard_and_get_device_info(
&self,
payload: RegistryRegisterKeyboardAndGetDeviceInfoRequest,
) -> Self::RegisterKeyboardAndGetDeviceInfoResponseFut;
fn register_mouse(
&self,
payload: RegistryRegisterMouseRequest,
) -> Self::RegisterMouseResponseFut;
fn register_mouse_and_get_device_info(
&self,
payload: RegistryRegisterMouseAndGetDeviceInfoRequest,
) -> Self::RegisterMouseAndGetDeviceInfoResponseFut;
}Required Associated Types§
type RegisterTouchScreenResponseFut: Future<Output = Result<(), Error>> + Send
type RegisterTouchScreenAndGetDeviceInfoResponseFut: Future<Output = Result<RegistryRegisterTouchScreenAndGetDeviceInfoResponse, Error>> + Send
type RegisterMediaButtonsDeviceResponseFut: Future<Output = Result<(), Error>> + Send
type RegisterMediaButtonsDeviceAndGetDeviceInfoResponseFut: Future<Output = Result<RegistryRegisterMediaButtonsDeviceAndGetDeviceInfoResponse, Error>> + Send
type RegisterKeyboardResponseFut: Future<Output = Result<(), Error>> + Send
type RegisterKeyboardAndGetDeviceInfoResponseFut: Future<Output = Result<RegistryRegisterKeyboardAndGetDeviceInfoResponse, Error>> + Send
type RegisterMouseResponseFut: Future<Output = Result<(), Error>> + Send
type RegisterMouseAndGetDeviceInfoResponseFut: Future<Output = Result<RegistryRegisterMouseAndGetDeviceInfoResponse, Error>> + Send
Required Methods§
fn register_touch_screen( &self, payload: RegistryRegisterTouchScreenRequest, ) -> Self::RegisterTouchScreenResponseFut
fn register_touch_screen_and_get_device_info( &self, payload: RegistryRegisterTouchScreenAndGetDeviceInfoRequest, ) -> Self::RegisterTouchScreenAndGetDeviceInfoResponseFut
fn register_keyboard( &self, payload: RegistryRegisterKeyboardRequest, ) -> Self::RegisterKeyboardResponseFut
fn register_keyboard_and_get_device_info( &self, payload: RegistryRegisterKeyboardAndGetDeviceInfoRequest, ) -> Self::RegisterKeyboardAndGetDeviceInfoResponseFut
fn register_mouse( &self, payload: RegistryRegisterMouseRequest, ) -> Self::RegisterMouseResponseFut
fn register_mouse_and_get_device_info( &self, payload: RegistryRegisterMouseAndGetDeviceInfoRequest, ) -> Self::RegisterMouseAndGetDeviceInfoResponseFut
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".