Enum gapi_grpc::google::cloud::dataproc::logging::AutoscalerState[][src]

#[repr(i32)]pub enum AutoscalerState {
    Unspecified,
    Cooldown,
    Recommending,
    Scaling,
    Stopped,
    Failed,
    Initializing,
}

The Autoscaler state.

Variants

Unspecified
Cooldown

The Autoscaler is sleeping and waiting for the next update.

Recommending

The Autoscaler is in the process of calculating its recommendation on whether to scale the cluster, and if so, how to autoscale.

Scaling

The Autoscaler is scaling the cluster.

Stopped

The Autoscaler has stopped.

Failed

The Autoscaler has failed.

Initializing

The Autoscaler is initializing.

Implementations

impl AutoscalerState[src]

pub fn is_valid(value: i32) -> bool[src]

Returns true if value is a variant of AutoscalerState.

pub fn from_i32(value: i32) -> Option<AutoscalerState>[src]

Converts an i32 to a AutoscalerState, or None if value is not a valid variant.

Trait Implementations

impl Clone for AutoscalerState[src]

impl Copy for AutoscalerState[src]

impl Debug for AutoscalerState[src]

impl Default for AutoscalerState[src]

impl Eq for AutoscalerState[src]

impl From<AutoscalerState> for i32[src]

impl Hash for AutoscalerState[src]

impl Ord for AutoscalerState[src]

impl PartialEq<AutoscalerState> for AutoscalerState[src]

impl PartialOrd<AutoscalerState> for AutoscalerState[src]

impl StructuralEq for AutoscalerState[src]

impl StructuralPartialEq for AutoscalerState[src]

Auto Trait Implementations

impl RefUnwindSafe for AutoscalerState

impl Send for AutoscalerState

impl Sync for AutoscalerState

impl Unpin for AutoscalerState

impl UnwindSafe for AutoscalerState

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]