pub struct CommitMarker {
pub id: [u8; 16],
pub row_ops: Vec<CommitRowOp>,
}Expand description
CommitMarker
Persisted mutation plan covering row-level operations. Recovery replays the marker exactly as stored. Unknown fields are rejected as corruption; commit markers are not forward-compatible. This is internal commit-protocol metadata, not a user-schema type.
Fields§
§id: [u8; 16]§row_ops: Vec<CommitRowOp>Implementations§
Source§impl CommitMarker
impl CommitMarker
Sourcepub fn new(row_ops: Vec<CommitRowOp>) -> Result<Self, InternalError>
pub fn new(row_ops: Vec<CommitRowOp>) -> Result<Self, InternalError>
Construct a new commit marker with a fresh commit id.
Trait Implementations§
Source§impl Clone for CommitMarker
impl Clone for CommitMarker
Source§fn clone(&self) -> CommitMarker
fn clone(&self) -> CommitMarker
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 CommitMarker
impl Debug for CommitMarker
Source§impl<'de> Deserialize<'de> for CommitMarker
impl<'de> Deserialize<'de> for CommitMarker
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 CommitMarker
impl RefUnwindSafe for CommitMarker
impl Send for CommitMarker
impl Sync for CommitMarker
impl Unpin for CommitMarker
impl UnsafeUnpin for CommitMarker
impl UnwindSafe for CommitMarker
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