pub trait InjectionScreen: Send + Sync {
// Required method
fn screen(&self, text: &str) -> Option<String>;
}Expand description
Flags suspicious untrusted spans before they reach the model.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".