Skip to main content

ConformanceOptions

Struct ConformanceOptions 

Source
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: OpenSessionOptions

Session options the suite opens the subject with.

§inject_log_unavailable: Option<Box<dyn Fn() + Send + Sync>>

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§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.