pub enum HeartbeatStatus {
Healthy,
Unhealthy,
Dead,
}Expand description
Heartbeat status
Variants§
Healthy
Connection is healthy
Unhealthy
Connection is unhealthy (missed some heartbeats)
Dead
Connection is dead (missed too many heartbeats)
Trait Implementations§
Source§impl Clone for HeartbeatStatus
impl Clone for HeartbeatStatus
Source§fn clone(&self) -> HeartbeatStatus
fn clone(&self) -> HeartbeatStatus
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for HeartbeatStatus
impl Debug for HeartbeatStatus
Source§impl PartialEq for HeartbeatStatus
impl PartialEq for HeartbeatStatus
impl Copy for HeartbeatStatus
impl Eq for HeartbeatStatus
impl StructuralPartialEq for HeartbeatStatus
Auto Trait Implementations§
impl Freeze for HeartbeatStatus
impl RefUnwindSafe for HeartbeatStatus
impl Send for HeartbeatStatus
impl Sync for HeartbeatStatus
impl Unpin for HeartbeatStatus
impl UnwindSafe for HeartbeatStatus
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.