pub struct CircuitBreakerStats {
pub total_domains: usize,
pub open_circuits: usize,
pub half_open_circuits: usize,
pub closed_circuits: usize,
}Expand description
Circuit breaker statistics
Fields§
§total_domains: usizeTotal tracked domains
open_circuits: usizeNumber of open circuits
half_open_circuits: usizeNumber of half-open circuits
closed_circuits: usizeNumber of closed circuits
Trait Implementations§
Source§impl Clone for CircuitBreakerStats
impl Clone for CircuitBreakerStats
Source§fn clone(&self) -> CircuitBreakerStats
fn clone(&self) -> CircuitBreakerStats
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 moreAuto Trait Implementations§
impl Freeze for CircuitBreakerStats
impl RefUnwindSafe for CircuitBreakerStats
impl Send for CircuitBreakerStats
impl Sync for CircuitBreakerStats
impl Unpin for CircuitBreakerStats
impl UnwindSafe for CircuitBreakerStats
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