Trait KeyboardProxyInterface

Source
pub trait KeyboardProxyInterface: Send + Sync {
    type SimulateUsAsciiTextEntryResponseFut: Future<Output = Result<(), Error>> + Send;
    type SimulateKeyEventResponseFut: Future<Output = Result<(), Error>> + Send;
    type SimulateKeyPressResponseFut: Future<Output = Result<(), Error>> + Send;

    // Required methods
    fn simulate_us_ascii_text_entry(
        &self,
        payload: &KeyboardSimulateUsAsciiTextEntryRequest,
    ) -> Self::SimulateUsAsciiTextEntryResponseFut;
    fn simulate_key_event(
        &self,
        payload: &KeyboardSimulateKeyEventRequest,
    ) -> Self::SimulateKeyEventResponseFut;
    fn simulate_key_press(
        &self,
        payload: &KeyboardSimulateKeyPressRequest,
    ) -> Self::SimulateKeyPressResponseFut;
}

Required Associated Types§

Required Methods§

Implementors§