pub trait FactoryResetProxyInterface: Send + Sync {
type WatchResponseFut: Future<Output = Result<FactoryResetSettings, Error>> + Send;
type SetResponseFut: Future<Output = Result<FactoryResetSetResult, Error>> + Send;
// Required methods
fn watch(&self) -> Self::WatchResponseFut;
fn set(&self, settings: &FactoryResetSettings) -> Self::SetResponseFut;
}Required Associated Types§
type WatchResponseFut: Future<Output = Result<FactoryResetSettings, Error>> + Send
type SetResponseFut: Future<Output = Result<FactoryResetSetResult, Error>> + Send
Required Methods§
fn watch(&self) -> Self::WatchResponseFut
fn set(&self, settings: &FactoryResetSettings) -> Self::SetResponseFut
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".