Skip to main content

NetworksProxyInterface

Trait NetworksProxyInterface 

Source
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§

Required Methods§

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§