pub enum WalPayload {
Insert(NodeEntry),
Update {
data: Vec<u8>,
metadata: Vec<(String, String)>,
},
Delete,
SetMeta {
meta_key: String,
meta_value: String,
},
SetSemantic {
coords: Vec<u8>,
},
Epoch {
epoch_id: u64,
flags: u8,
},
}Expand description
Op-specific payload.
Variants§
Insert(NodeEntry)
INSERT: full node entry.
Update
UPDATE: replacement data + metadata.
Fields
Delete
DELETE: no additional data.
SetMeta
SET_META: single key/value.
SetSemantic
SET_SEMANTIC: full semantic coordinate replacement.
Epoch
EPOCH: seal marker (temporal epochs). No node state change; replay advances the
in-memory epoch counter. key is empty — epochs are file-scoped.
Trait Implementations§
Source§impl Clone for WalPayload
impl Clone for WalPayload
Source§fn clone(&self) -> WalPayload
fn clone(&self) -> WalPayload
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for WalPayload
impl RefUnwindSafe for WalPayload
impl Send for WalPayload
impl Sync for WalPayload
impl Unpin for WalPayload
impl UnsafeUnpin for WalPayload
impl UnwindSafe for WalPayload
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