Trait common_meta::cluster::ClusterInfo
source · pub trait ClusterInfo {
type Error: ErrorExt;
// Required method
fn list_nodes<'life0, 'async_trait>(
&'life0 self,
role: Option<Role>,
) -> Pin<Box<dyn Future<Output = Result<Vec<NodeInfo>, Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}
Expand description
ClusterInfo provides information about the cluster.