pub enum FrameKind {
Rows = 0,
Ddl = 1,
Empty = 2,
}Expand description
The entry kind — today’s _rindle_change_log.kind discriminator plus the shapes
the journal substrate adds.
Variants§
Rows = 0
Row deltas: the payload contains ordered flat-change chunks.
Ddl = 1
A schema change riding the log in-band (RELAY-DDL-DESIGN.md): replay mutates
the schema at exactly this offset. DDL entries are fold barriers (212 §4.2) and
the reason no frame ever meets the wrong schema epoch (212 §3.1).
Empty = 2
An empty entry with no payload: the engine itself writes empty journal
records on post-allocation validation failure, and zero-fills crash gaps at
reopen (211 §4). They ship as empty frames so cid contiguity is preserved
end-to-end (212 §2.1). committed_at is 0 (unknown) — the engine’s records
carry no wall clock.
Trait Implementations§
impl Copy for FrameKind
impl Eq for FrameKind
impl StructuralPartialEq for FrameKind
Auto Trait Implementations§
impl Freeze for FrameKind
impl RefUnwindSafe for FrameKind
impl Send for FrameKind
impl Sync for FrameKind
impl Unpin for FrameKind
impl UnsafeUnpin for FrameKind
impl UnwindSafe for FrameKind
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