pub trait InputProxyInterface: Send + Sync {
    type WatchResponseFut: Future<Output = Result<InputSettings, Error>> + Send;
    type SetResponseFut: Future<Output = Result<InputSetResult, Error>> + Send;

    // Required methods
    fn watch(&self) -> Self::WatchResponseFut;
    fn set(&self, input_states: &[InputState]) -> Self::SetResponseFut;
}

Required Associated Types§

Required Methods§

source

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

source

fn set(&self, input_states: &[InputState]) -> Self::SetResponseFut

Implementors§

source§

impl InputProxyInterface for InputProxy

§

type WatchResponseFut = QueryResponseFut<InputSettings>

§

type SetResponseFut = QueryResponseFut<Result<(), Error>>