Skip to main content

SolverEvent

Trait SolverEvent 

Source
pub trait SolverEvent:
    Send
    + Sync
    + Debug {
    // Required method
    fn state(&self) -> &GoalState;
}
Expand description

Base trait for solver events.

Required Methods§

Source

fn state(&self) -> &GoalState

Get the current state

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§