pub enum CircuitBreakerState {
Closed,
Open,
HalfOpen,
}Expand description
Circuit breaker states
Variants§
Trait Implementations§
Source§impl Clone for CircuitBreakerState
impl Clone for CircuitBreakerState
Source§fn clone(&self) -> CircuitBreakerState
fn clone(&self) -> CircuitBreakerState
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 CircuitBreakerState
impl Debug for CircuitBreakerState
Source§impl PartialEq for CircuitBreakerState
impl PartialEq for CircuitBreakerState
impl StructuralPartialEq for CircuitBreakerState
Auto Trait Implementations§
impl Freeze for CircuitBreakerState
impl RefUnwindSafe for CircuitBreakerState
impl Send for CircuitBreakerState
impl Sync for CircuitBreakerState
impl Unpin for CircuitBreakerState
impl UnwindSafe for CircuitBreakerState
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