Struct CheckStrategySanityOptions
pub struct CheckStrategySanityOptions { pub strict_complicate_after_simplify: bool, pub error_on_local_rejects: bool, /* private fields */ }
Options passed to check_strategy_sanity().
Fields
strict_complicate_after_simplify: boolIf true (the default), require that
complicate()returntrueat least once after any call tosimplify()which itself returns once.This property is not required by contract, but many strategies are designed in a way that this is expected to hold.
error_on_local_rejects: boolIf true, cause local rejects to return an error instead of retrying. Defaults to false. Useful for testing behaviors around error handling.
Trait Implementations
impl Clone for CheckStrategySanityOptions
fn clone(&self) -> Self
impl Copy for CheckStrategySanityOptions
impl Debug for CheckStrategySanityOptions
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Default for CheckStrategySanityOptions
fn default() -> Self