pub trait RuntimeParallelService {
// Required method
fn supports(&self, capability: ParallelCapability) -> bool;
// Provided method
fn placement_resources(&self) -> RuntimeParallelResources { ... }
}Required Methods§
fn supports(&self, capability: ParallelCapability) -> bool
Provided Methods§
Sourcefn placement_resources(&self) -> RuntimeParallelResources
fn placement_resources(&self) -> RuntimeParallelResources
Side-effect-free scheduler capacity for placement admission. A future RM-1067 pool/scheduler adapter overrides this with its current lease; absence preserves the single-core local runtime budget.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".