pub trait FeatureProxyInterface: Send + Sync {
type UpdateFeatureConfigResponseFut: Future<Output = Result<(), Error>> + Send;
type GetFeatureConfigResponseFut: Future<Output = Result<FeatureConfig, Error>> + Send;
// Required methods
fn update_feature_config(
&self,
config: &FeatureConfig,
) -> Self::UpdateFeatureConfigResponseFut;
fn get_feature_config(&self) -> Self::GetFeatureConfigResponseFut;
}Required Associated Types§
type UpdateFeatureConfigResponseFut: Future<Output = Result<(), Error>> + Send
type GetFeatureConfigResponseFut: Future<Output = Result<FeatureConfig, Error>> + Send
Required Methods§
fn update_feature_config( &self, config: &FeatureConfig, ) -> Self::UpdateFeatureConfigResponseFut
fn get_feature_config(&self) -> Self::GetFeatureConfigResponseFut
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".