Skip to main content

RuntimePlacementService

Trait RuntimePlacementService 

Source
pub trait RuntimePlacementService {
    // Required methods
    fn plan(
        &self,
        request: PlacementPlanRequest,
    ) -> Result<PlacementDecision, RuntimeError>;
    fn observe(&self, feedback: PlacementFeedback) -> Result<(), RuntimeError>;
    fn invalidate(&self, invalidation: PlacementInvalidation);
}
Expand description

Session-owned execution-placement authority. The runtime exposes only executor-neutral contracts; candidate generation and policy remain in their owning executor/acceleration crates.

Required Methods§

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§