#[repr(u32)]
pub enum grpc_connectivity_state {
GRPC_CHANNEL_IDLE,
GRPC_CHANNEL_CONNECTING,
GRPC_CHANNEL_READY,
GRPC_CHANNEL_TRANSIENT_FAILURE,
GRPC_CHANNEL_SHUTDOWN,
}
Expand description
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§
source§impl Clone for grpc_connectivity_state
impl Clone for grpc_connectivity_state
source§fn clone(&self) -> grpc_connectivity_state
fn clone(&self) -> grpc_connectivity_state
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for grpc_connectivity_state
impl Debug for grpc_connectivity_state
source§impl Hash for grpc_connectivity_state
impl Hash for grpc_connectivity_state
source§impl PartialEq<grpc_connectivity_state> for grpc_connectivity_state
impl PartialEq<grpc_connectivity_state> for grpc_connectivity_state
source§fn eq(&self, other: &grpc_connectivity_state) -> bool
fn eq(&self, other: &grpc_connectivity_state) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.