pub trait NegotiationStrategy {
// Required method
fn negotiate(&self, plan: &RoutingPlan) -> NegotiationOutcome;
}Expand description
Capability negotiation seam.
A future router issue will resolve acceptable_placements against
the manifest’s placement claims, identity-correlation requirements
against session_identity, and so on. The skeleton defines the
trait shape only.
Required Methods§
Sourcefn negotiate(&self, plan: &RoutingPlan) -> NegotiationOutcome
fn negotiate(&self, plan: &RoutingPlan) -> NegotiationOutcome
Negotiate the routing plan against the adapter manifest it already carries. Implementations decide whether the request is satisfied, must be degraded, is unsupported, or requires operator intervention.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".