pub trait CatalogClusterReplica<'a>: Debug {
// Required methods
fn name(&self) -> &str;
fn cluster_id(&self) -> ClusterId;
fn replica_id(&self) -> ReplicaId;
fn owner_id(&self) -> RoleId;
fn internal(&self) -> bool;
}
Expand description
A cluster replica in a SessionCatalog
Required Methods§
Sourcefn cluster_id(&self) -> ClusterId
fn cluster_id(&self) -> ClusterId
Returns a stable ID for the cluster that the replica belongs to.
Sourcefn replica_id(&self) -> ReplicaId
fn replica_id(&self) -> ReplicaId
Returns a stable ID for the replica.