pub trait IntlProxyInterface: Send + Sync {
    type WatchResponseFut: Future<Output = Result<IntlSettings, Error>> + Send;
    type SetResponseFut: Future<Output = Result<IntlSetResult, Error>> + Send;

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

Required Associated Types§

Required Methods§

source

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

source

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

Implementors§

source§

impl IntlProxyInterface for IntlProxy

§

type WatchResponseFut = QueryResponseFut<IntlSettings>

§

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