oxirs-cluster 0.2.4

Raft-backed distributed dataset for high availability and horizontal scaling
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//! # RegionManager - accessors Methods
//!
//! This module contains method implementations for `RegionManager`.
//!
//! 🤖 Generated with [SplitRS](https://github.com/cool-japan/splitrs)

use super::types::RegionTopology;

use super::regionmanager_type::RegionManager;

impl RegionManager {
    /// Get current region topology
    pub async fn get_topology(&self) -> RegionTopology {
        self.topology.read().await.clone()
    }
}