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