pub trait KeyEventInjectorProxyInterface: Send + Sync {
type InjectResponseFut: Future<Output = Result<KeyEventStatus, Error>> + Send;
// Required method
fn inject(&self, key_event: &KeyEvent) -> Self::InjectResponseFut;
}Required Associated Types§
type InjectResponseFut: Future<Output = Result<KeyEventStatus, Error>> + Send
Required Methods§
fn inject(&self, key_event: &KeyEvent) -> Self::InjectResponseFut
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".