Skip to main content

DriverConfigProxyInterface

Trait DriverConfigProxyInterface 

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

Required Methods§

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§