pub struct IntegrationTestConfig {
pub node_count: usize,
pub message_count: usize,
pub chaos: Option<ChaosConfig>,
}Expand description
Configuration for integration tests
Fields§
§node_count: usizeNumber of nodes
message_count: usizeNumber of messages to generate
chaos: Option<ChaosConfig>Enable chaos
Implementations§
Source§impl IntegrationTestConfig
impl IntegrationTestConfig
Sourcepub fn with_chaos(self, chaos: ChaosConfig) -> Self
pub fn with_chaos(self, chaos: ChaosConfig) -> Self
With chaos enabled
Trait Implementations§
Source§impl Clone for IntegrationTestConfig
impl Clone for IntegrationTestConfig
Source§fn clone(&self) -> IntegrationTestConfig
fn clone(&self) -> IntegrationTestConfig
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 IntegrationTestConfig
impl Debug for IntegrationTestConfig
Auto Trait Implementations§
impl Freeze for IntegrationTestConfig
impl RefUnwindSafe for IntegrationTestConfig
impl Send for IntegrationTestConfig
impl Sync for IntegrationTestConfig
impl Unpin for IntegrationTestConfig
impl UnsafeUnpin for IntegrationTestConfig
impl UnwindSafe for IntegrationTestConfig
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