pub struct ChannelRuntimeConfig {
pub health_monitor_enabled: bool,
pub probe_interval_secs: u64,
pub auto_restart_on_failure: bool,
pub failure_threshold: usize,
}Expand description
Channel runtime resilience configuration.
Fields§
§health_monitor_enabled: bool§probe_interval_secs: u64§auto_restart_on_failure: bool§failure_threshold: usizeTrait Implementations§
Source§impl Clone for ChannelRuntimeConfig
impl Clone for ChannelRuntimeConfig
Source§fn clone(&self) -> ChannelRuntimeConfig
fn clone(&self) -> ChannelRuntimeConfig
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 ChannelRuntimeConfig
impl Debug for ChannelRuntimeConfig
Source§impl Default for ChannelRuntimeConfig
impl Default for ChannelRuntimeConfig
Source§impl<'de> Deserialize<'de> for ChannelRuntimeConfig
impl<'de> Deserialize<'de> for ChannelRuntimeConfig
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 ChannelRuntimeConfig
impl RefUnwindSafe for ChannelRuntimeConfig
impl Send for ChannelRuntimeConfig
impl Sync for ChannelRuntimeConfig
impl Unpin for ChannelRuntimeConfig
impl UnsafeUnpin for ChannelRuntimeConfig
impl UnwindSafe for ChannelRuntimeConfig
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