pub trait AuthorityAggregatorUpdatable<A: Clone>:
Send
+ Sync
+ 'static {
// Required methods
fn epoch(&self) -> EpochId;
fn authority_aggregator(&self) -> Arc<AuthorityAggregator<A>> ⓘ;
fn update_authority_aggregator(
&self,
new_authorities: Arc<AuthorityAggregator<A>>,
);
}Expand description
Trait for components that can update their AuthorityAggregator during reconfiguration. Used by ReconfigObserver to notify components of epoch changes.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".