pub struct CnsConfig {
pub health_check_interval_secs: u64,
pub enable_reflexes: bool,
pub verbose_logging: bool,
pub startup_grace_period_secs: u64,
pub max_concurrent_probes: u32,
pub probe_retry_attempts: u32,
pub endpoints: CnsEndpointsConfig,
pub circuit_breakers: HashMap<String, CircuitBreakerConfig>,
}Fields§
§health_check_interval_secs: u64Health check interval in seconds
enable_reflexes: boolEnable automatic recovery reflexes
verbose_logging: boolVerbose logging
startup_grace_period_secs: u64Startup grace period in seconds
max_concurrent_probes: u32Maximum concurrent probes
probe_retry_attempts: u32Probe retry attempts
endpoints: CnsEndpointsConfigEndpoints configuration
circuit_breakers: HashMap<String, CircuitBreakerConfig>Circuit breakers configuration
Trait Implementations§
Source§impl<'de> Deserialize<'de> for CnsConfig
impl<'de> Deserialize<'de> for CnsConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for CnsConfig
impl RefUnwindSafe for CnsConfig
impl Send for CnsConfig
impl Sync for CnsConfig
impl Unpin for CnsConfig
impl UnsafeUnpin for CnsConfig
impl UnwindSafe for CnsConfig
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