Skip to main content

ReviewScenario

Trait ReviewScenario 

Source
pub trait ReviewScenario: Send + Sync {
    // Required method
    fn scenario_id(&self) -> &str;

    // Provided methods
    fn triggers(&self) -> ReviewTriggerPolicy { ... }
    fn injects_into_main(&self) -> bool { ... }
}
Expand description

Host-supplied review scenario. Rubrics live here — not in Core.

Required Methods§

Source

fn scenario_id(&self) -> &str

Provided Methods§

Source

fn triggers(&self) -> ReviewTriggerPolicy

Source

fn injects_into_main(&self) -> bool

Whether pending findings from this scenario inject into the main prompt.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§