#[repr(u32)]pub enum grpc_connectivity_state {
GRPC_CHANNEL_IDLE = 0,
GRPC_CHANNEL_CONNECTING = 1,
GRPC_CHANNEL_READY = 2,
GRPC_CHANNEL_TRANSIENT_FAILURE = 3,
GRPC_CHANNEL_SHUTDOWN = 4,
}
Expand description
Connectivity state of a channel.
Variants§
GRPC_CHANNEL_IDLE = 0
channel is idle
GRPC_CHANNEL_CONNECTING = 1
channel is connecting
GRPC_CHANNEL_READY = 2
channel is ready for work
GRPC_CHANNEL_TRANSIENT_FAILURE = 3
channel has seen a failure but expects to recover
GRPC_CHANNEL_SHUTDOWN = 4
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 for grpc_connectivity_state
impl PartialEq for grpc_connectivity_state
impl Copy for grpc_connectivity_state
impl Eq for grpc_connectivity_state
impl StructuralPartialEq for grpc_connectivity_state
Auto Trait Implementations§
impl Freeze for grpc_connectivity_state
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