Enum tonic_health::ServingStatus[][src]

pub enum ServingStatus {
    Unknown,
    Serving,
    NotServing,
}

An enumeration of values representing gRPC service health.

Variants

Unknown

Unknown status

Serving

The service is currently up and serving requests.

NotServing

The service is currently down and not serving requests.

Trait Implementations

impl Clone for ServingStatus[src]

impl Copy for ServingStatus[src]

impl Debug for ServingStatus[src]

impl Display for ServingStatus[src]

impl From<ServingStatus> for ServingStatus[src]

impl PartialEq<ServingStatus> for ServingStatus[src]

impl StructuralPartialEq for ServingStatus[src]

Auto Trait Implementations

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<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> ToString for T where
    T: Display + ?Sized
[src]

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>, 

impl<T> WithSubscriber for T[src]