pub trait DoNotDisturbProxyInterface: Send + Sync {
    type WatchResponseFut: Future<Output = Result<DoNotDisturbSettings, Error>> + Send;
    type SetResponseFut: Future<Output = Result<DoNotDisturbSetResult, Error>> + Send;

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

Required Associated Types§

Required Methods§

source

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

source

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

Implementors§