Skip to main content

SessionStateHandler

Trait SessionStateHandler 

Source
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§

Source

fn before_plan_eval(&self, session_state: &mut TurnState) -> TractResult<()>

Source

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".

Implementors§