pub struct WorkerTestConfig {
pub init_timeout: Duration,
pub command_timeout: Duration,
pub max_messages: usize,
pub test_error_recovery: bool,
pub test_memory_leaks: bool,
pub stress_iterations: usize,
pub verify_lamport_ordering: bool,
pub test_shared_memory: bool,
pub ring_buffer_size: usize,
}Expand description
Worker test configuration
Fields§
§init_timeout: DurationTimeout for worker initialization
command_timeout: DurationTimeout for command processing
max_messages: usizeMaximum messages before overflow test
test_error_recovery: boolWhether to test error recovery
test_memory_leaks: boolWhether to test memory leaks
stress_iterations: usizeNumber of iterations for stress testing
verify_lamport_ordering: boolWhether to verify Lamport ordering
Whether to test SharedArrayBuffer operations
ring_buffer_size: usizeRing buffer size for testing
Implementations§
Source§impl WorkerTestConfig
impl WorkerTestConfig
Sourcepub fn comprehensive() -> Self
pub fn comprehensive() -> Self
Create comprehensive configuration for thorough testing
Trait Implementations§
Source§impl Clone for WorkerTestConfig
impl Clone for WorkerTestConfig
Source§fn clone(&self) -> WorkerTestConfig
fn clone(&self) -> WorkerTestConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 WorkerTestConfig
impl Debug for WorkerTestConfig
Auto Trait Implementations§
impl Freeze for WorkerTestConfig
impl RefUnwindSafe for WorkerTestConfig
impl Send for WorkerTestConfig
impl Sync for WorkerTestConfig
impl Unpin for WorkerTestConfig
impl UnsafeUnpin for WorkerTestConfig
impl UnwindSafe for WorkerTestConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<R, P> ReadPrimitive<R> for P
impl<R, P> ReadPrimitive<R> for P
Source§fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as
ReadEndian::read_from_little_endian().