Appearance
cellpack::loader::SlotHeader
Module contract · All interfaces
At a glance
#[repr(C, align(64))]pub struct SlotHeader {
pub seq: AtomicU64,
pub state: AtomicU32,
pub rows: AtomicU32,
pub remaining: AtomicU32,
pub generation: AtomicU64,
}One slot’s header, on its own cache line: which batch it holds, its state and how many of its outputs are still unwritten.
Fields and variants
seq
seq: AtomicU64The batch the slot was opened for, u64::MAX before any run.
state
state: AtomicU32One of the slot states: filling, ready, done or leased.
rows
rows: AtomicU32Positions in the slot.
remaining
remaining: AtomicU32Outputs (positions × schemas) not yet written.
generation
generation: AtomicU64The run generation the slot was opened under.
Contract reference
See the module reference for semantic input/output rules, units, allocation, mutation, failure behavior, and lifetime requirements. Declarations and documented members are synchronized from the crate source.