pub enum PowCapabilityBand {
Strong,
Degraded,
Weak,
Unknown,
}Expand description
Coarse-grained capability band derived from a unit-interval score.
The bands are the policy surface — the policy mapper
in crate::pow_profile::policy consumes a band and
returns deterministic escalation / pacing adjustments.
Callers that want a continuous score use
PowCapabilityScorer::score directly.
Variants§
Strong
The profile shows consistent, fast, low-retry solves.
Degraded
The profile shows acceptable but not impressive results.
Weak
The profile shows slow solves, high retries, or many failures.
Unknown
The profile has too few samples to score; the documented default is returned instead.
Implementations§
Trait Implementations§
Source§impl Clone for PowCapabilityBand
impl Clone for PowCapabilityBand
Source§fn clone(&self) -> PowCapabilityBand
fn clone(&self) -> PowCapabilityBand
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PowCapabilityBand
impl Debug for PowCapabilityBand
Source§impl<'de> Deserialize<'de> for PowCapabilityBand
impl<'de> Deserialize<'de> for PowCapabilityBand
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for PowCapabilityBand
impl Hash for PowCapabilityBand
Source§impl PartialEq for PowCapabilityBand
impl PartialEq for PowCapabilityBand
Source§impl Serialize for PowCapabilityBand
impl Serialize for PowCapabilityBand
impl Copy for PowCapabilityBand
impl Eq for PowCapabilityBand
impl StructuralPartialEq for PowCapabilityBand
Auto Trait Implementations§
impl Freeze for PowCapabilityBand
impl RefUnwindSafe for PowCapabilityBand
impl Send for PowCapabilityBand
impl Sync for PowCapabilityBand
impl Unpin for PowCapabilityBand
impl UnsafeUnpin for PowCapabilityBand
impl UnwindSafe for PowCapabilityBand
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.