pub trait ClusterConfigExtraProperty {
// Required methods
fn get_cluster_config(&self) -> Option<Arc<ClusterConfig>>;
fn set_cluster_config(&mut self, value: Arc<ClusterConfig>) -> &mut Self;
}
Expand description
Extends Extras within a new ClusterConfigExtraProperty.
Required Methods§
Sourcefn get_cluster_config(&self) -> Option<Arc<ClusterConfig>>
fn get_cluster_config(&self) -> Option<Arc<ClusterConfig>>
Gets ClusterConfig property as a shared reference.
Sourcefn set_cluster_config(&mut self, value: Arc<ClusterConfig>) -> &mut Self
fn set_cluster_config(&mut self, value: Arc<ClusterConfig>) -> &mut Self
Sets ClusterConfig property using a shared reference.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.