fidl_fuchsia_input_injection

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§

Source

fn register(&self, device: ClientEnd<InputDeviceMarker>) -> Result<(), Error>

Source

fn register_and_get_device_info( &self, device: ClientEnd<InputDeviceMarker>, ) -> Self::RegisterAndGetDeviceInfoResponseFut

Implementors§