pub enum ControlObjectKind {
Hint,
CheckpointRecord,
UploadSession,
ContentStore,
}Expand description
Selects one independently versioned control-object family.
Variants§
Hint
Starts forward discovery of numbered manifests.
CheckpointRecord
Pins a manifest basis for a user or fork lifecycle.
UploadSession
Tracks staged content through upload completion or cleanup.
ContentStore
Identifies the content domain held by a backend.
Implementations§
Source§impl ControlObjectKind
impl ControlObjectKind
Sourcepub const ALL: [Self; 4]
pub const ALL: [Self; 4]
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
impl Copy for ControlObjectKind
Source§impl Debug for ControlObjectKind
impl Debug for ControlObjectKind
Source§impl<'de> Deserialize<'de> for ControlObjectKind
impl<'de> Deserialize<'de> for ControlObjectKind
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ControlObjectKind
Source§impl PartialEq for ControlObjectKind
impl PartialEq for ControlObjectKind
Source§impl Serialize for ControlObjectKind
impl Serialize for ControlObjectKind
impl StructuralPartialEq for ControlObjectKind
Auto Trait Implementations§
impl Freeze for ControlObjectKind
impl RefUnwindSafe for ControlObjectKind
impl Send for ControlObjectKind
impl Sync for ControlObjectKind
impl Unpin for ControlObjectKind
impl UnsafeUnpin for ControlObjectKind
impl UnwindSafe for ControlObjectKind
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