mod passthrough#
- module passthrough#
Passthrough plugin that applies no transformations.
Used as a baseline for A/B testing, as the default when no provider-specific plugin is configured, and for backends with no explicit cache control APIs.
PassthroughPluginimplementsProviderPluginby cloning the rewritten request unchanged and generating aTranslationReportwhere every intent is markedTranslationStatus::IgnoredwithReasonCode::NotRelevant.Structs and Unions
- struct PassthroughPlugin#
A no-op provider plugin that passes requests through unchanged.
Returns the
rewritten_requestas-is (cloned) and generates aTranslationReportwhere every intent is markedTranslationStatus::IgnoredwithReasonCode::NotRelevant.Usage
Default plugin when no provider-specific plugin is configured
Baseline for A/B testing (compare against optimized plugins)
Backends with no explicit cache control APIs
Traits implemented
- impl ProviderPlugin for PassthroughPlugin#