pub enum ExecutorPrefillAdmissionDecision {
Admitted(ExecutorPrefillAdmissionReceipt),
Deferred(AdmissionDeferred),
MaintenanceDeferred(ExecutorPrefillMaintenanceDeferral),
PermanentRejected(AdmissionRejected),
}Expand description
Typed result of probing plan-runtime prefill capacity.
Deferred and MaintenanceDeferred preserve the capacity domains and
epochs required by the plan-local dynamic admission queue. They must never
be flattened into a generic resource error at the scheduler boundary.
Variants§
Admitted(ExecutorPrefillAdmissionReceipt)
Deferred(AdmissionDeferred)
MaintenanceDeferred(ExecutorPrefillMaintenanceDeferral)
PermanentRejected(AdmissionRejected)
Trait Implementations§
Source§impl Clone for ExecutorPrefillAdmissionDecision
impl Clone for ExecutorPrefillAdmissionDecision
Source§fn clone(&self) -> ExecutorPrefillAdmissionDecision
fn clone(&self) -> ExecutorPrefillAdmissionDecision
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 moreAuto Trait Implementations§
impl Freeze for ExecutorPrefillAdmissionDecision
impl RefUnwindSafe for ExecutorPrefillAdmissionDecision
impl Send for ExecutorPrefillAdmissionDecision
impl Sync for ExecutorPrefillAdmissionDecision
impl Unpin for ExecutorPrefillAdmissionDecision
impl UnsafeUnpin for ExecutorPrefillAdmissionDecision
impl UnwindSafe for ExecutorPrefillAdmissionDecision
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