Enum GrowthReason
pub enum GrowthReason {
Crowding,
VetoRolledBack,
VetoFrozen,
LimitReached,
CapReached,
SignBarrier,
NotRepresentable,
}Expand description
Why a growth decision was taken or refused – §9’s brakes and the two outcomes of its failure veto.
Declared here because replay, widening, and study events share this stable policy vocabulary.
Variants§
Crowding
A bound moved outward: the top set was crowding it.
VetoRolledBack
A bound moved back to its previous position and its side froze: every terminal trial in the added band failed.
VetoFrozen
A side froze without rolling back: a majority, but not all, of the added band’s terminal trials failed.
LimitReached
The next span would cross the declared limit.
CapReached
The side has already used its max_expansions.
SignBarrier
A linear side reached zero without crossing it (§8.9).
NotRepresentable
The proposed span or bound left its own type (§8.10).
Trait Implementations§
§impl Clone for GrowthReason
impl Clone for GrowthReason
§fn clone(&self) -> GrowthReason
fn clone(&self) -> GrowthReason
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 GrowthReason
§impl Debug for GrowthReason
impl Debug for GrowthReason
§impl<'de> Deserialize<'de> for GrowthReason
impl<'de> Deserialize<'de> for GrowthReason
§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
impl Eq for GrowthReason
§impl Hash for GrowthReason
impl Hash for GrowthReason
§impl Ord for GrowthReason
impl Ord for GrowthReason
§fn cmp(&self, other: &GrowthReason) -> Ordering
fn cmp(&self, other: &GrowthReason) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
§impl PartialEq for GrowthReason
impl PartialEq for GrowthReason
§impl PartialOrd for GrowthReason
impl PartialOrd for GrowthReason
§impl Serialize for GrowthReason
impl Serialize for GrowthReason
impl StructuralPartialEq for GrowthReason
Auto Trait Implementations§
impl Freeze for GrowthReason
impl RefUnwindSafe for GrowthReason
impl Send for GrowthReason
impl Sync for GrowthReason
impl Unpin for GrowthReason
impl UnsafeUnpin for GrowthReason
impl UnwindSafe for GrowthReason
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