pub fn proposer_count(&self, epoch: Epoch) -> usize {
        self.proposers
            .read()
            .get(&epoch)
            .map_or(0, |(_, proposers)| proposers.len())
    }
/// Returns the total number of validators that should propose in the given epoch.
Returns the total number of validators that should propose in the given epoch.
Returns the total number of validators that should propose in the given epoch .
pub fn proposer_count(&self, epoch: Epoch) -> usize {
        self.proposers
            .read()
            .get(&epoch)
            .map_or(0, |(_, proposers)| proposers.len())
    }
pub fn proposer_count ( & self , epoch : Epoch ) -> usize { self . proposers . read ( ) . get ( & epoch ) . map_or ( 0 , | ( _ , proposers ) | proposers . len ( ) ) }
Returns the total number of validators that should propose in the given epoch.
Returns the total number of validators that should propose in the given epoch .
&self
epoch
Epoch