pub trait SessionStateHandler:
Send
+ Sync
+ Debug {
// Required methods
fn before_plan_eval(&self, session_state: &mut TurnState) -> TractResult<()>;
fn after_plan_eval(&self, session_state: &mut TurnState) -> TractResult<()>;
}Required Methods§
fn before_plan_eval(&self, session_state: &mut TurnState) -> TractResult<()>
fn after_plan_eval(&self, session_state: &mut TurnState) -> TractResult<()>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".