pub enum BudgetError {
Oversubscribed {
quota: f64,
floor: u64,
declared: u64,
},
QuotaTooSmallForPinnedRoles {
quota: f64,
required: u64,
},
TooFewSolverCpus {
solver: u64,
min: u64,
},
BelowHostFloor {
quota: f64,
},
IoWorkersOutOfBounds {
requested: u64,
binding: &'static str,
},
}Expand description
Why a budget was refused.
Variants§
Oversubscribed
Declared peak shares exceed the quota floor.
Fields
QuotaTooSmallForPinnedRoles
Fractional quota below the pinned-role floor (H+A+R+M+2).
TooFewSolverCpus
Solver share derives below the minimum.
BelowHostFloor
Fractional quota below the 2-core host floor (FLEETFLOOR FF-T2: one core for I/O work, one core for solve work) — no binding can host the fleet there, forced or not.
IoWorkersOutOfBounds
A runtime.io_workers override the resolved plan cannot honor
(FF-T2): below the ambient floor (A >= 1) on the pinned
binding, or off the serial binding\u0027s exactly-one ambient I/O lane.
Refused with a hint, never a silent clamp.
Implementations§
Source§impl BudgetError
impl BudgetError
Sourcepub const fn name(&self) -> &'static str
pub const fn name(&self) -> &'static str
The typed variant NAME (the closed, greppable refusal vocabulary).
runtime_status()’s tier_refused string names the family the plan
fell from (FF-T5 addendum, 452GZC); the Display wording stays the
operator sentence with the quota, the floor, and the hint.
Trait Implementations§
Source§impl Clone for BudgetError
impl Clone for BudgetError
impl Copy for BudgetError
Source§impl Debug for BudgetError
impl Debug for BudgetError
Source§impl Display for BudgetError
impl Display for BudgetError
Source§impl Error for BudgetError
impl Error for BudgetError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()
Source§impl From<BudgetError> for BootError
impl From<BudgetError> for BootError
Source§fn from(source: BudgetError) -> Self
fn from(source: BudgetError) -> Self
Source§impl PartialEq for BudgetError
impl PartialEq for BudgetError
impl StructuralPartialEq for BudgetError
Auto Trait Implementations§
impl Freeze for BudgetError
impl RefUnwindSafe for BudgetError
impl Send for BudgetError
impl Sync for BudgetError
impl Unpin for BudgetError
impl UnsafeUnpin for BudgetError
impl UnwindSafe for BudgetError
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more