Skip to main content

DeviceStateWatcherProxyInterface

Trait DeviceStateWatcherProxyInterface 

Source
pub trait DeviceStateWatcherProxyInterface: Send + Sync {
    type WatchDeviceStateResponseFut: Future<Output = Result<DeviceStateWatcherWatchDeviceStateResult, Error>> + Send;

    // Required method
    fn watch_device_state(&self) -> Self::WatchDeviceStateResponseFut;
}

Required Associated Types§

Required Methods§

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§