pub struct ExecutorExecutionMaintenanceProgress { /* private fields */ }Expand description
Typed proof that a bounded executor call committed relevant backing growth before yielding the same logical frontier back to the scheduler.
This is deliberately stronger than observing a global capacity epoch. Every mutation is reconstructed from a real growth receipt and bound back to the pool’s exact capacity domain. The scheduler may grant one fairness-bounded retry only when this proof is present.
Implementations§
Source§impl ExecutorExecutionMaintenanceProgress
impl ExecutorExecutionMaintenanceProgress
pub fn from_growth_receipts( attempts: u32, observed: ExecutorAdmissionEpochs, receipts: &[DynamicPoolGrowthBatchReceipt], pools: &[DynamicPoolStatus], ) -> Result<Self>
pub const fn attempts(&self) -> u32
pub const fn coordinator_id(&self) -> NonZeroU64
pub fn mutations(&self) -> &[ExecutorExecutionMaintenanceMutation]
pub const fn latest_capacity_epoch(&self) -> u64
Trait Implementations§
Source§impl Clone for ExecutorExecutionMaintenanceProgress
impl Clone for ExecutorExecutionMaintenanceProgress
Source§fn clone(&self) -> ExecutorExecutionMaintenanceProgress
fn clone(&self) -> ExecutorExecutionMaintenanceProgress
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Eq for ExecutorExecutionMaintenanceProgress
impl StructuralPartialEq for ExecutorExecutionMaintenanceProgress
Auto Trait Implementations§
impl Freeze for ExecutorExecutionMaintenanceProgress
impl RefUnwindSafe for ExecutorExecutionMaintenanceProgress
impl Send for ExecutorExecutionMaintenanceProgress
impl Sync for ExecutorExecutionMaintenanceProgress
impl Unpin for ExecutorExecutionMaintenanceProgress
impl UnsafeUnpin for ExecutorExecutionMaintenanceProgress
impl UnwindSafe for ExecutorExecutionMaintenanceProgress
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more