fn register_servers(mut self) -> Self {
        for g in APPROVED_SERVERS {
            self.upcoming_topics
                .insert(g, Arc::new(RwLock::new(HashSet::new())));
            self.points.insert(g, Arc::new(RwLock::new(HashMap::new())));
            self.votes.insert(g, Arc::new(RwLock::new(HashMap::new())));
        }

        self
    }
/// Creates buckets for all of the pre-specified servers the bot belongs to.
Creates buckets for all of the pre-specified servers the bot belongs to.
Creates buckets for all of the pre - specified servers the bot belongs to .
fn register_servers(mut self) -> Self {
        for g in APPROVED_SERVERS {
            self.upcoming_topics
                .insert(g, Arc::new(RwLock::new(HashSet::new())));
            self.points.insert(g, Arc::new(RwLock::new(HashMap::new())));
            self.votes.insert(g, Arc::new(RwLock::new(HashMap::new())));
        }
        self
    }
fn register_servers ( mut self ) -> Self { for g in APPROVED_SERVERS { self . upcoming_topics . insert ( g , Arc :: new ( RwLock :: new ( HashSet :: new ( ) ) ) ) ; self . points . insert ( g , Arc :: new ( RwLock :: new ( HashMap :: new ( ) ) ) ) ; self . votes . insert ( g , Arc :: new ( RwLock :: new ( HashMap :: new ( ) ) ) ) ; } self }
Creates buckets for all of the pre-specified servers the bot belongs to.
Creates buckets for all of the pre - specified servers the bot belongs to .
mut self
mut self