pub enum BranchViability {
Viable(Duration),
Potential,
NonViable,
}Expand description
One branch’s viability under a consumer budget — the SINGLE
source of the rule project_aggregate applies, exposed for
SI-6 so the scheduler-bridge candidate projection can never
drift from the aggregate’s own economics.
Variants§
Viable(Duration)
Projected Ready AND within the budget; carries the consumer-local ranking cost (route + provider start estimate).
Potential
Unknown — or Ready OUTSIDE the budget (a route change could still make it viable): never prune on it, never count it toward NotReady.
NonViable
Explicitly NotReady.
Trait Implementations§
Source§impl Clone for BranchViability
impl Clone for BranchViability
Source§fn clone(&self) -> BranchViability
fn clone(&self) -> BranchViability
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 Copy for BranchViability
Source§impl Debug for BranchViability
impl Debug for BranchViability
impl Eq for BranchViability
Source§impl PartialEq for BranchViability
impl PartialEq for BranchViability
impl StructuralPartialEq for BranchViability
Auto Trait Implementations§
impl Freeze for BranchViability
impl RefUnwindSafe for BranchViability
impl Send for BranchViability
impl Sync for BranchViability
impl Unpin for BranchViability
impl UnsafeUnpin for BranchViability
impl UnwindSafe for BranchViability
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.