pub struct ChaosStatistics {
pub enabled: bool,
pub error_rate: f64,
pub delay_rate: f64,
pub min_delay_ms: u64,
pub max_delay_ms: u64,
pub inject_timeouts: bool,
}
Expand description
Chaos engine statistics
Fields§
§enabled: bool
§error_rate: f64
§delay_rate: f64
§min_delay_ms: u64
§max_delay_ms: u64
§inject_timeouts: bool
Trait Implementations§
Source§impl Clone for ChaosStatistics
impl Clone for ChaosStatistics
Source§fn clone(&self) -> ChaosStatistics
fn clone(&self) -> ChaosStatistics
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 ChaosStatistics
impl Debug for ChaosStatistics
Source§impl<'de> Deserialize<'de> for ChaosStatistics
impl<'de> Deserialize<'de> for ChaosStatistics
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 ChaosStatistics
impl RefUnwindSafe for ChaosStatistics
impl Send for ChaosStatistics
impl Sync for ChaosStatistics
impl Unpin for ChaosStatistics
impl UnwindSafe for ChaosStatistics
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