pub trait ProxyStrategy:
Send
+ Sync
+ 'static {
// Required method
fn route(&self, ctx: &ProxyRouteContext<'_>) -> ProxyKind;
}Expand description
Synchronous policy selecting a proxy bucket for a request.
Required Methods§
Sourcefn route(&self, ctx: &ProxyRouteContext<'_>) -> ProxyKind
fn route(&self, ctx: &ProxyRouteContext<'_>) -> ProxyKind
Selects the logical proxy bucket.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".