pub struct SystemCheckConfig {
pub blob_test_size: usize,
pub storage_test_count: u32,
pub operation_timeout: Duration,
pub skip_blob_tests: bool,
pub skip_storage_tests: bool,
pub skip_connectivity_tests: bool,
pub run_offline_tests: bool,
pub verify_sync: bool,
pub offline_message_count: u32,
pub offline_blob_size: usize,
}Expand description
Configuration for system check operations
Fields§
§blob_test_size: usizeSize of test data for blob service tests (in bytes)
storage_test_count: u32Number of test messages for storage tests
operation_timeout: DurationTimeout for individual test operations
skip_blob_tests: boolWhether to skip blob service tests
skip_storage_tests: boolWhether to skip storage tests
skip_connectivity_tests: boolWhether to skip connectivity tests
run_offline_tests: boolWhether to run offline tests first (before establishing relay connection)
verify_sync: boolWhether to verify sync after establishing connection
offline_message_count: u32Number of offline messages to create for sync verification
offline_blob_size: usizeSize of offline blob data for sync verification
Implementations§
Source§impl SystemCheckConfig
impl SystemCheckConfig
Sourcepub fn with_blob_test_size(self, size: usize) -> Self
pub fn with_blob_test_size(self, size: usize) -> Self
Set the blob test size
Sourcepub fn with_storage_test_count(self, count: u32) -> Self
pub fn with_storage_test_count(self, count: u32) -> Self
Set the storage test count
Sourcepub fn with_timeout_secs(self, timeout_secs: u64) -> Self
pub fn with_timeout_secs(self, timeout_secs: u64) -> Self
Set the operation timeout
Sourcepub fn skip_blob_tests(self) -> Self
pub fn skip_blob_tests(self) -> Self
Skip blob service tests
Sourcepub fn skip_storage_tests(self) -> Self
pub fn skip_storage_tests(self) -> Self
Skip storage tests
Sourcepub fn skip_connectivity_tests(self) -> Self
pub fn skip_connectivity_tests(self) -> Self
Skip connectivity tests
Sourcepub fn with_offline_tests(self, enabled: bool) -> Self
pub fn with_offline_tests(self, enabled: bool) -> Self
Enable/disable offline tests
Sourcepub fn with_sync_verification(self, enabled: bool) -> Self
pub fn with_sync_verification(self, enabled: bool) -> Self
Enable/disable sync verification
Sourcepub fn with_offline_message_count(self, count: u32) -> Self
pub fn with_offline_message_count(self, count: u32) -> Self
Set the number of offline messages for sync verification
Sourcepub fn with_offline_blob_size(self, size: usize) -> Self
pub fn with_offline_blob_size(self, size: usize) -> Self
Set the size of offline blob data for sync verification
Trait Implementations§
Source§impl Clone for SystemCheckConfig
impl Clone for SystemCheckConfig
Source§fn clone(&self) -> SystemCheckConfig
fn clone(&self) -> SystemCheckConfig
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more