pub enum ProxyState {
Unknown,
Active,
Dead,
Retired,
}Expand description
State of a proxy in the manager.
Variants§
Unknown
Active
Dead
Proxy was eliminated due to sustained failure. Not automatically recovered — requires a restart or explicit state reset.
Retired
Proxy reached its per-node request limit and was voluntarily retired.
Unlike Dead, Retired nodes can be reactivated on source refresh.
Trait Implementations§
Source§impl Clone for ProxyState
impl Clone for ProxyState
Source§fn clone(&self) -> ProxyState
fn clone(&self) -> ProxyState
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ProxyState
impl Debug for ProxyState
Source§impl PartialEq for ProxyState
impl PartialEq for ProxyState
Source§fn eq(&self, other: &ProxyState) -> bool
fn eq(&self, other: &ProxyState) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for ProxyState
impl Eq for ProxyState
impl StructuralPartialEq for ProxyState
Auto Trait Implementations§
impl Freeze for ProxyState
impl RefUnwindSafe for ProxyState
impl Send for ProxyState
impl Sync for ProxyState
impl Unpin for ProxyState
impl UnsafeUnpin for ProxyState
impl UnwindSafe for ProxyState
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