pub struct ConformanceOptions {
pub open: OpenSessionOptions,
pub inject_log_unavailable: Option<Box<dyn Fn() + Send + Sync>>,
pub dispatch_count: Option<Box<dyn Fn() -> usize + Send + Sync>>,
pub inject_observation_omission: Option<Box<dyn Fn() + Send + Sync>>,
}Expand description
Options for run_conformance.
Fields§
§open: OpenSessionOptionsSession options the suite opens the subject with.
Fault hook making the issuing session’s event log unreachable, so
the logUnavailable reconcile fate becomes observable. None
records that check as skipped.
dispatch_count: Option<Box<dyn Fn() -> usize + Send + Sync>>Wire-request counter of the subject (how many dispatches actually
left the provider), for the 04 §8 no-autonomous-retry group: one
retryable failure must ride EXACTLY one wire request. When
present, the fixture must script a FIFTH execute settling
failed with retryable: true. None records the check as
skipped.
inject_observation_omission: Option<Box<dyn Fn() + Send + Sync>>Fault hook making the next observation legally omit its
screenshot, for the 04 §8 terminal-fidelity group: an omission is
typed data, never an error. None records the check as skipped.
Auto Trait Implementations§
impl !RefUnwindSafe for ConformanceOptions
impl !UnwindSafe for ConformanceOptions
impl Freeze for ConformanceOptions
impl Send for ConformanceOptions
impl Sync for ConformanceOptions
impl Unpin for ConformanceOptions
impl UnsafeUnpin for ConformanceOptions
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