Enum gapi_grpc::google::appengine::v1beta::instance::liveness::LivenessState[][src]

#[repr(i32)]pub enum LivenessState {
    Unspecified,
    Unknown,
    Healthy,
    Unhealthy,
    Draining,
    Timeout,
}

Liveness health check status for Flex instances.

Variants

Unspecified

There is no liveness health check for the instance. Only applicable for instances in App Engine standard environment.

Unknown

The health checking system is aware of the instance but its health is not known at the moment.

Healthy

The instance is reachable i.e. a connection to the application health checking endpoint can be established, and conforms to the requirements defined by the health check.

Unhealthy

The instance is reachable, but does not conform to the requirements defined by the health check.

Draining

The instance is being drained. The existing connections to the instance have time to complete, but the new ones are being refused.

Timeout

The instance is unreachable i.e. a connection to the application health checking endpoint cannot be established, or the server does not respond within the specified timeout.

Implementations

impl LivenessState[src]

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

Returns true if value is a variant of LivenessState.

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

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

Trait Implementations

impl Clone for LivenessState[src]

impl Copy for LivenessState[src]

impl Debug for LivenessState[src]

impl Default for LivenessState[src]

impl Eq for LivenessState[src]

impl From<LivenessState> for i32[src]

impl Hash for LivenessState[src]

impl Ord for LivenessState[src]

impl PartialEq<LivenessState> for LivenessState[src]

impl PartialOrd<LivenessState> for LivenessState[src]

impl StructuralEq for LivenessState[src]

impl StructuralPartialEq for LivenessState[src]

Auto Trait Implementations

impl RefUnwindSafe for LivenessState

impl Send for LivenessState

impl Sync for LivenessState

impl Unpin for LivenessState

impl UnwindSafe for LivenessState

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]