pub trait ConflictDetectionStrategy: Send + Sync {
// Required methods
fn detect_conflict(
&self,
goal1: &Goal,
goal2: &Goal,
) -> GoalAlignmentResult<Option<GoalConflict>>;
fn name(&self) -> &str;
}Expand description
Trait for conflict detection strategies
Required Methods§
Sourcefn detect_conflict(
&self,
goal1: &Goal,
goal2: &Goal,
) -> GoalAlignmentResult<Option<GoalConflict>>
fn detect_conflict( &self, goal1: &Goal, goal2: &Goal, ) -> GoalAlignmentResult<Option<GoalConflict>>
Detect conflicts between two goals
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".