#[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 ==
.impl Copy for grpc_connectivity_state
impl Eq for grpc_connectivity_state
impl StructuralEq for grpc_connectivity_state
impl StructuralPartialEq for grpc_connectivity_state
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§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more