pub trait DriverConfigProxyInterface: Send + Sync {
type SetPollingConfigResponseFut: Future<Output = Result<DriverConfigSetPollingConfigResult, Error>> + Send;
type GetPollingConfigResponseFut: Future<Output = Result<DriverConfigGetPollingConfigResult, Error>> + Send;
type ResetPollingConfigResponseFut: Future<Output = Result<DriverConfigResetPollingConfigResult, Error>> + Send;
// Required methods
fn set_polling_config(
&self,
payload: &PollingConfig,
) -> Self::SetPollingConfigResponseFut;
fn get_polling_config(&self) -> Self::GetPollingConfigResponseFut;
fn reset_polling_config(&self) -> Self::ResetPollingConfigResponseFut;
}Required Associated Types§
type SetPollingConfigResponseFut: Future<Output = Result<DriverConfigSetPollingConfigResult, Error>> + Send
type GetPollingConfigResponseFut: Future<Output = Result<DriverConfigGetPollingConfigResult, Error>> + Send
type ResetPollingConfigResponseFut: Future<Output = Result<DriverConfigResetPollingConfigResult, Error>> + Send
Required Methods§
fn set_polling_config( &self, payload: &PollingConfig, ) -> Self::SetPollingConfigResponseFut
fn get_polling_config(&self) -> Self::GetPollingConfigResponseFut
fn reset_polling_config(&self) -> Self::ResetPollingConfigResponseFut
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".