Enum grpcio_sys::grpc_connectivity_state[][src]

#[repr(u32)]pub enum grpc_connectivity_state {
    GRPC_CHANNEL_IDLE,
    GRPC_CHANNEL_CONNECTING,
    GRPC_CHANNEL_READY,
    GRPC_CHANNEL_TRANSIENT_FAILURE,
    GRPC_CHANNEL_SHUTDOWN,
}

Connectivity state of a channel.

Variants

GRPC_CHANNEL_IDLE

channel is idle

GRPC_CHANNEL_CONNECTING

channel is connecting

GRPC_CHANNEL_READY

channel is ready for work

GRPC_CHANNEL_TRANSIENT_FAILURE

channel has seen a failure but expects to recover

GRPC_CHANNEL_SHUTDOWN

channel has seen a failure that it cannot recover from

Trait Implementations

impl Clone for grpc_connectivity_state[src]

impl Copy for grpc_connectivity_state[src]

impl Debug for grpc_connectivity_state[src]

impl Eq for grpc_connectivity_state[src]

impl Hash for grpc_connectivity_state[src]

impl PartialEq<grpc_connectivity_state> for grpc_connectivity_state[src]

impl StructuralEq for grpc_connectivity_state[src]

impl StructuralPartialEq for grpc_connectivity_state[src]

Auto Trait Implementations

impl RefUnwindSafe for grpc_connectivity_state

impl Send for grpc_connectivity_state

impl Sync for grpc_connectivity_state

impl Unpin for grpc_connectivity_state

impl UnwindSafe for grpc_connectivity_state

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, U> Into<U> for T where
    U: From<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.