pub fn new(
        consensus_cache: Arc<dyn ConsensusPoolCache>,
        registry_client: Arc<dyn RegistryClient>,
        subnet_id: SubnetId,
    ) -> Self {
        Self {
            consensus_cache,
            registry_client,
            subnet_id,
        }
    }
/// Construct a new MembershipImpl instance.
Construct a new MembershipImpl instance.
Construct a new MembershipImpl instance .
pub fn new(
        consensus_cache: Arc<dyn ConsensusPoolCache>,
        registry_client: Arc<dyn RegistryClient>,
        subnet_id: SubnetId,
    ) -> Self {
        Self {
            consensus_cache,
            registry_client,
            subnet_id,
        }
    }
pub fn new ( consensus_cache : Arc < dyn ConsensusPoolCache > , registry_client : Arc < dyn RegistryClient > , subnet_id : SubnetId , ) -> Self { Self { consensus_cache , registry_client , subnet_id , } }
Construct a new MembershipImpl instance.
Construct a new MembershipImpl instance .
consensus_cache
Arc<dyn ConsensusPoolCache>
registry_client
Arc<dyn RegistryClient>
subnet_id
SubnetId
consensus_cache
Arc<dyn ConsensusPoolCache>
registry_client
Arc<dyn RegistryClient>
subnet_id
SubnetId