Skip to main content

ProviderProxyInterface

Trait ProviderProxyInterface 

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

Required Methods§

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§