pub trait StopConditionsProvider { // Required method fn extract_stop_conditions(&self) -> Result<StopConditions>; }