pub enum ControlObjectKind {
WalHead,
WalFloor,
MetadataRoot,
CheckpointRecord,
UploadSession,
}Expand description
Selects one independently versioned mutable control-object family.
Variants§
WalHead
Carries the sole live-visibility and writer-fencing authority.
WalFloor
Records the earliest sequence for which incremental history is retained.
MetadataRoot
Points to the best known materialized metadata manifest.
CheckpointRecord
Pins a manifest basis for a user or fork lifecycle.
UploadSession
Tracks staged content through upload completion or cleanup.
Implementations§
Source§impl ControlObjectKind
impl ControlObjectKind
Sourcepub const ALL: [Self; 5]
pub const ALL: [Self; 5]
Lists every registered control-object family in stable registry order.
Sourcepub const fn format_version(self) -> u32
pub const fn format_version(self) -> u32
Durable format version for this control object kind.
Versions are tracked per kind so one kind’s payload schema can make a breaking change without invalidating every other control object. Version 1 is a JSON envelope document carrying the current payload as a raw JSON fragment whose checksum covers its exact bytes.
Trait Implementations§
Source§impl Clone for ControlObjectKind
impl Clone for ControlObjectKind
Source§fn clone(&self) -> ControlObjectKind
fn clone(&self) -> ControlObjectKind
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more