pub struct HealthStats {
pub total_requests: u64,
pub total_failures: u64,
pub consecutive_failures: u64,
pub circuit_open: bool,
}Expand description
Health statistics snapshot.
Fields§
§total_requests: u64§total_failures: u64§consecutive_failures: u64§circuit_open: boolTrait Implementations§
Source§impl Clone for HealthStats
impl Clone for HealthStats
Source§fn clone(&self) -> HealthStats
fn clone(&self) -> HealthStats
Returns a duplicate 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 HealthStats
impl Debug for HealthStats
Auto Trait Implementations§
impl Freeze for HealthStats
impl RefUnwindSafe for HealthStats
impl Send for HealthStats
impl Sync for HealthStats
impl Unpin for HealthStats
impl UnsafeUnpin for HealthStats
impl UnwindSafe for HealthStats
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