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

    // Required method
    fn watch(&self) -> Self::WatchResponseFut;

    // Provided method
    fn set(
        &self,
        settings: SetupSettings,
        reboot_device: bool
    ) -> Self::SetResponseFut { ... }
}

Required Associated Types§

Required Methods§

source

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

Provided Methods§

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>>