pub trait MiddlewareStage:
Sealed
+ Send
+ Sync {
type Context: Send + 'static;
type Result: Send + 'static;
const NAME: &'static str;
}Expand description
A middleware interception point (MiddlewareStage), sealed to the SDK’s stages:
InvokeModelStage and ExecuteToolStage.
Required Associated Constants§
Required Associated Types§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".