pub struct CompletedCompaction {
pub fork_point: u64,
pub handoff: Handoff,
pub restoration: Restoration,
pub attachment_catalog: Vec<AttachmentCatalogEntry>,
}Expand description
A compaction that has landed but not yet been folded into the window.
The handoff is applied at the next request boundary rather than the moment it arrives: mid-turn the conversation holds tool calls whose results have not been appended yet, and replacing it there would strand them.
Fields§
§fork_point: u64Sequence number items must reach to survive the handoff.
handoff: HandoffThe handoff that replaces everything older than the fork point.
restoration: RestorationWhat the handoff asked to put back in view.
attachment_catalog: Vec<AttachmentCatalogEntry>The attachment catalog the instruction offered, so the ids the handoff named resolve against what the model saw.
Trait Implementations§
Source§impl Clone for CompletedCompaction
impl Clone for CompletedCompaction
Source§impl Debug for CompletedCompaction
impl Debug for CompletedCompaction
impl Eq for CompletedCompaction
Source§impl PartialEq for CompletedCompaction
impl PartialEq for CompletedCompaction
impl StructuralPartialEq for CompletedCompaction
Auto Trait Implementations§
impl Forget for CompletedCompaction
impl Freeze for CompletedCompaction
impl Move for CompletedCompaction
impl RefUnwindSafe for CompletedCompaction
impl Send for CompletedCompaction
impl Sync for CompletedCompaction
impl Unpin for CompletedCompaction
impl UnsafeUnpin for CompletedCompaction
impl UnwindSafe for CompletedCompaction
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.