pub enum Phase {
Stable,
PreTransition,
Transitioning,
Resolving,
}Expand description
Phase detected from a quantity’s rate-of-change history.
Each variant describes the trajectory of a tracked quantity relative to its conservation boundary (initial value minus tolerance).
§Transitions
Stable → PreTransition → Transitioning → Resolving → StableUse ConservationChecker::phase to obtain the current phase.
Variants§
Stable
Rate of change is near zero — the quantity is holding steady.
PreTransition
Rate of change is accelerating but hasn’t crossed the tolerance threshold.
This is an early warning: the quantity is still conserved, but its velocity is increasing and may lead to a violation.
Transitioning
Value is actively decreasing beyond tolerance — the conservation law is violated.
Resolving
Value was decreasing but is now recovering toward the baseline.
Trait Implementations§
impl Copy for Phase
impl Eq for Phase
impl StructuralPartialEq for Phase
Auto Trait Implementations§
impl Freeze for Phase
impl RefUnwindSafe for Phase
impl Send for Phase
impl Sync for Phase
impl Unpin for Phase
impl UnsafeUnpin for Phase
impl UnwindSafe for Phase
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