pub trait SetupProxyInterface: Send + Sync {
    type WatchResponseFut: Future<Output = Result<SetupSettings, Error>> + Send;
    type SetResponseFut: Future<Output = Result<SetupSetResult, Error>> + Send;

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

Required Associated Types§

Required Methods§

source

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

source

fn set( &self, settings: &SetupSettings, reboot_device: bool ) -> Self::SetResponseFut

Implementors§

source§

impl SetupProxyInterface for SetupProxy

§

type WatchResponseFut = QueryResponseFut<SetupSettings>

§

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