pub struct SpecDigest {
pub prefix_end: usize,
pub kept_from: usize,
pub text: String,
}Expand description
A compaction digest computed speculatively during the turn, overlapping the summarize call with the turn’s own samples. Indices refer to the projection the digest was planned against; the projection only appends between folds, so they stay valid until the fold that consumes them.
Fields§
§prefix_end: usize§kept_from: usize§text: StringTrait Implementations§
Auto Trait Implementations§
impl Freeze for SpecDigest
impl RefUnwindSafe for SpecDigest
impl Send for SpecDigest
impl Sync for SpecDigest
impl Unpin for SpecDigest
impl UnsafeUnpin for SpecDigest
impl UnwindSafe for SpecDigest
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