pub enum CompactEvent {
Scored {
seq: u64,
score: u8,
},
Audited {
critical_kept: usize,
memory_chars: usize,
dropped_seqs: Vec<u64>,
},
Skipped {
reason: &'static str,
},
}Expand description
Outcome of one compactor operation. Never an error: LLM trouble
degrades to CompactEvent::Skipped.
Variants§
Scored
A recorded turn was scored.
Audited
An audit pass completed.
Fields
Skipped
The operation degraded silently; prior state is untouched.
Trait Implementations§
Source§impl Clone for CompactEvent
impl Clone for CompactEvent
Source§fn clone(&self) -> CompactEvent
fn clone(&self) -> CompactEvent
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 moreSource§impl Debug for CompactEvent
impl Debug for CompactEvent
impl Eq for CompactEvent
Source§impl PartialEq for CompactEvent
impl PartialEq for CompactEvent
impl StructuralPartialEq for CompactEvent
Auto Trait Implementations§
impl Freeze for CompactEvent
impl RefUnwindSafe for CompactEvent
impl Send for CompactEvent
impl Sync for CompactEvent
impl Unpin for CompactEvent
impl UnsafeUnpin for CompactEvent
impl UnwindSafe for CompactEvent
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.