pub struct Snapshot {
pub durable: Arc<Vec<Item>>,
pub tail: Arc<Vec<Item>>,
}Expand description
Re-exported alongside ProjectionHead: what a read of it yields, split
into the durable projection and the ephemeral per-sample tail. Out-of-crate
readers (fork’s history seed) name it to say which half they take.
One read of the projection head, split by durability.
The split is the invariant: durable is byte-stable between supersede
events (append-only projection), tail is regenerated every read. Every
consumer that must not see ephemeral content — the fork seed, the cache
breakpoint chooser — reads durable and structurally cannot reach tail.
Fields§
§durable: Arc<Vec<Item>>The durable projection — byte-stable between supersede events.
tail: Arc<Vec<Item>>Ephemeral per-sample suffix (todo reminder today), regenerated per read, never committed, rendered after every cache marker.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Snapshot
impl RefUnwindSafe for Snapshot
impl Send for Snapshot
impl Sync for Snapshot
impl Unpin for Snapshot
impl UnsafeUnpin for Snapshot
impl UnwindSafe for Snapshot
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