Skip to main content

KeyboardProxyInterface

Trait KeyboardProxyInterface 

Source
pub trait KeyboardProxyInterface: Send + Sync {
    type SetResponseFut: Future<Output = Result<KeyboardSetSetResult, Error>> + Send;
    type WatchResponseFut: Future<Output = Result<KeyboardSettings, Error>> + Send;

    // Required methods
    fn set(&self, settings: &KeyboardSettings) -> Self::SetResponseFut;
    fn watch(&self) -> Self::WatchResponseFut;
}

Required Associated Types§

Required Methods§

Source

fn set(&self, settings: &KeyboardSettings) -> Self::SetResponseFut

Source

fn watch(&self) -> Self::WatchResponseFut

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§