Enum google_api_proto::google::bigtable::admin::v2::table::cluster_state::ReplicationState
source · #[repr(i32)]pub enum ReplicationState {
StateNotKnown = 0,
Initializing = 1,
PlannedMaintenance = 2,
UnplannedMaintenance = 3,
Ready = 4,
ReadyOptimizing = 5,
}
Expand description
Table replication states.
Variants§
StateNotKnown = 0
The replication state of the table is unknown in this cluster.
Initializing = 1
The cluster was recently created, and the table must finish copying over pre-existing data from other clusters before it can begin receiving live replication updates and serving Data API requests.
PlannedMaintenance = 2
The table is temporarily unable to serve Data API requests from this cluster due to planned internal maintenance.
UnplannedMaintenance = 3
The table is temporarily unable to serve Data API requests from this cluster due to unplanned or emergency maintenance.
Ready = 4
The table can serve Data API requests from this cluster. Depending on replication delay, reads may not immediately reflect the state of the table in other clusters.
ReadyOptimizing = 5
The table is fully created and ready for use after a restore, and is
being optimized for performance. When optimizations are complete, the
table will transition to READY
state.
Implementations§
source§impl ReplicationState
impl ReplicationState
sourcepub fn as_str_name(&self) -> &'static str
pub fn as_str_name(&self) -> &'static str
String value of the enum field names used in the ProtoBuf definition.
The values are not transformed in any way and thus are considered stable (if the ProtoBuf definition does not change) and safe for programmatic use.
sourcepub fn from_str_name(value: &str) -> Option<Self>
pub fn from_str_name(value: &str) -> Option<Self>
Creates an enum from field names used in the ProtoBuf definition.
Trait Implementations§
source§impl Clone for ReplicationState
impl Clone for ReplicationState
source§fn clone(&self) -> ReplicationState
fn clone(&self) -> ReplicationState
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ReplicationState
impl Debug for ReplicationState
source§impl Default for ReplicationState
impl Default for ReplicationState
source§fn default() -> ReplicationState
fn default() -> ReplicationState
source§impl From<ReplicationState> for i32
impl From<ReplicationState> for i32
source§fn from(value: ReplicationState) -> i32
fn from(value: ReplicationState) -> i32
source§impl Hash for ReplicationState
impl Hash for ReplicationState
source§impl Ord for ReplicationState
impl Ord for ReplicationState
source§fn cmp(&self, other: &ReplicationState) -> Ordering
fn cmp(&self, other: &ReplicationState) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
source§impl PartialEq for ReplicationState
impl PartialEq for ReplicationState
source§fn eq(&self, other: &ReplicationState) -> bool
fn eq(&self, other: &ReplicationState) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for ReplicationState
impl PartialOrd for ReplicationState
source§fn partial_cmp(&self, other: &ReplicationState) -> Option<Ordering>
fn partial_cmp(&self, other: &ReplicationState) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
self
and other
) and is used by the <=
operator. Read moresource§impl TryFrom<i32> for ReplicationState
impl TryFrom<i32> for ReplicationState
§type Error = UnknownEnumValue
type Error = UnknownEnumValue
source§fn try_from(value: i32) -> Result<ReplicationState, UnknownEnumValue>
fn try_from(value: i32) -> Result<ReplicationState, UnknownEnumValue>
impl Copy for ReplicationState
impl Eq for ReplicationState
impl StructuralPartialEq for ReplicationState
Auto Trait Implementations§
impl Freeze for ReplicationState
impl RefUnwindSafe for ReplicationState
impl Send for ReplicationState
impl Sync for ReplicationState
impl Unpin for ReplicationState
impl UnwindSafe for ReplicationState
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request