pub trait NetworksProxyInterface: Send + Sync {
type WatchDefaultResponseFut: Future<Output = Result<NetworksWatchDefaultResponse, Error>> + Send;
type WatchPropertiesResponseFut: Future<Output = Result<NetworksWatchPropertiesResult, Error>> + Send;
// Required methods
fn watch_default(&self) -> Self::WatchDefaultResponseFut;
fn watch_properties(
&self,
payload: NetworksWatchPropertiesRequest,
) -> Self::WatchPropertiesResponseFut;
}Required Associated Types§
type WatchDefaultResponseFut: Future<Output = Result<NetworksWatchDefaultResponse, Error>> + Send
type WatchPropertiesResponseFut: Future<Output = Result<NetworksWatchPropertiesResult, Error>> + Send
Required Methods§
fn watch_default(&self) -> Self::WatchDefaultResponseFut
fn watch_properties( &self, payload: NetworksWatchPropertiesRequest, ) -> Self::WatchPropertiesResponseFut
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".