pub struct PersistedOpsSnapshot {
pub epoch_id: RuntimeEpochId,
pub authority_state: RegistryCanonicalState,
pub operation_specs: HashMap<OperationId, OperationSpec>,
pub completion_entries: Vec<CompletionEntry>,
pub cursors: EpochCursorSnapshot,
}Expand description
Serializable snapshot of the ops lifecycle registry state.
Captured on terminal transitions for durable persistence. Contains canonical authority state, operation specs, persisted completion feed entries, and consumer cursor values.
Fields§
§epoch_id: RuntimeEpochIdEpoch identity at capture time.
Canonical machine-owned authority state.
operation_specs: HashMap<OperationId, OperationSpec>Per-operation specs for shell record reconstruction.
completion_entries: Vec<CompletionEntry>Persisted completion feed entries (actual contents, not reconstructed).
cursors: EpochCursorSnapshotConsumer cursor snapshot at capture time.
Trait Implementations§
Source§impl Clone for PersistedOpsSnapshot
impl Clone for PersistedOpsSnapshot
Source§fn clone(&self) -> PersistedOpsSnapshot
fn clone(&self) -> PersistedOpsSnapshot
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PersistedOpsSnapshot
impl Debug for PersistedOpsSnapshot
Source§impl<'de> Deserialize<'de> for PersistedOpsSnapshot
impl<'de> Deserialize<'de> for PersistedOpsSnapshot
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
Auto Trait Implementations§
impl Freeze for PersistedOpsSnapshot
impl RefUnwindSafe for PersistedOpsSnapshot
impl Send for PersistedOpsSnapshot
impl Sync for PersistedOpsSnapshot
impl Unpin for PersistedOpsSnapshot
impl UnsafeUnpin for PersistedOpsSnapshot
impl UnwindSafe for PersistedOpsSnapshot
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