Enum Status Copy item path Source #[non_exhaustive]
pub enum Status {
Unspecified,
Provisioning,
Running,
Reconciling,
Stopping,
Error,
Degraded,
UnknownValue(UnknownValue),
}Expand description The current status of the cluster.
§ Working with unknown values
This enum is defined as #[non_exhaustive] because Google Cloud may add
additional enum variants at any time. Adding new variants is not considered
a breaking change. Applications should write their code in anticipation of:
New values appearing in future releases of the client library, and
New values received dynamically, without application changes.
Please consult the Working with enums section in the user guide for some
guidelines.
This enum is marked as non-exhaustive Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
The PROVISIONING state indicates the cluster is being created.
The RUNNING state indicates the cluster has been created and is fully
usable.
The RECONCILING state indicates that some work is actively being done on
the cluster, such as upgrading the master or node software. Details can
be found in the statusMessage field.
The STOPPING state indicates the cluster is being deleted.
The ERROR state indicates the cluster is unusable. It will be
automatically deleted. Details can be found in the statusMessage field.
The DEGRADED state indicates the cluster requires user action to restore
full functionality. Details can be found in the statusMessage field.
If set, the enum was initialized with an unknown value.
Applications can examine the value using Status::value or
Status::name .
Gets the enum value.
Returns None if the enum contains an unknown value deserialized from
the string representation of enums.
Gets the enum value as a string.
Returns None if the enum contains an unknown value deserialized from
the integer representation of enums.
Performs copy-assignment from
source.
Read more Formats the value using the given formatter.
Read more Returns the “default value” for a type.
Read more Deserialize this value from the given Serde deserializer.
Read more Formats the value using the given formatter.
Read more Converts to this type from the input type.
Converts to this type from the input type.
Tests for self and other values to be equal, and is used by ==.
Tests for !=. The default implementation is almost always sufficient,
and should not be overridden without very good reason.
Serialize this value into the given Serde serializer.
Read more Immutably borrows from an owned value.
Read more Mutably borrows from an owned value.
Read more 🔬 This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from
self to
dest.
Read more Returns the argument unchanged.
Instruments this type with the provided
Span, returning an
Instrumented wrapper.
Read more Calls U::from(self).
That is, this conversion is whatever the implementation of
From <T> for U chooses to do.
The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning.
Read more Uses borrowed data to replace owned data, usually by cloning.
Read more Converts the given value to a
String.
Read more The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.