pub trait DeviceWatcherProxyInterface: Send + Sync {
type WatchDevicesResponseFut: Future<Output = Result<(Vec<String>, Vec<String>), Error>> + Send;
// Required method
fn watch_devices(&self) -> Self::WatchDevicesResponseFut;
}Required Associated Types§
type WatchDevicesResponseFut: Future<Output = Result<(Vec<String>, Vec<String>), Error>> + Send
Required Methods§
fn watch_devices(&self) -> Self::WatchDevicesResponseFut
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".