pub enum ContextRuling {
Breathe,
Dilate,
Compress,
Emergency,
}Expand description
The Autonomic controller’s ruling on context compression.
Maps to biological analogy: breathing. The context window is a lung — it fills (inspiration) and must periodically release (expiration). Autonomic regulation decides the breathing rate.
Variants§
Breathe
Context pressure is low. No action needed.
Dilate
Context filling but agent doing valuable work. Delay compression.
Compress
Context should be compressed. Extract memories and compact.
Emergency
Critical pressure. Compact immediately to avoid API errors.
Trait Implementations§
Source§impl Clone for ContextRuling
impl Clone for ContextRuling
Source§fn clone(&self) -> ContextRuling
fn clone(&self) -> ContextRuling
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 ContextRuling
impl Debug for ContextRuling
Source§impl<'de> Deserialize<'de> for ContextRuling
impl<'de> Deserialize<'de> for ContextRuling
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 PartialEq for ContextRuling
impl PartialEq for ContextRuling
Source§impl Serialize for ContextRuling
impl Serialize for ContextRuling
impl Copy for ContextRuling
impl Eq for ContextRuling
impl StructuralPartialEq for ContextRuling
Auto Trait Implementations§
impl Freeze for ContextRuling
impl RefUnwindSafe for ContextRuling
impl Send for ContextRuling
impl Sync for ContextRuling
impl Unpin for ContextRuling
impl UnsafeUnpin for ContextRuling
impl UnwindSafe for ContextRuling
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.