pub trait PlacementPolicy:
Send
+ Sync
+ 'static {
// Required method
fn choose(
&self,
hints: &PlacementHints,
candidates: &[(u32, &DeviceLoad)],
) -> Option<u32>;
}pub trait PlacementPolicy:
Send
+ Sync
+ 'static {
// Required method
fn choose(
&self,
hints: &PlacementHints,
candidates: &[(u32, &DeviceLoad)],
) -> Option<u32>;
}