pub struct WitnessDelta {
pub sequence: u64,
pub offset: u32,
pub length: u16,
pub data_hash: u64,
}Expand description
A single delta entry from the witness log.
Represents a write operation that occurred between the checkpoint and the current state. Applied in sequence order during reconstruction.
Fields§
§sequence: u64Sequence number in the witness log.
offset: u32Offset within the region (in bytes) where the write occurred.
length: u16Length of the data written (in bytes).
data_hash: u64FNV-1a hash of the written data for integrity verification.
Trait Implementations§
Source§impl Clone for WitnessDelta
impl Clone for WitnessDelta
Source§fn clone(&self) -> WitnessDelta
fn clone(&self) -> WitnessDelta
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 moreimpl Copy for WitnessDelta
Auto Trait Implementations§
impl Freeze for WitnessDelta
impl RefUnwindSafe for WitnessDelta
impl Send for WitnessDelta
impl Sync for WitnessDelta
impl Unpin for WitnessDelta
impl UnsafeUnpin for WitnessDelta
impl UnwindSafe for WitnessDelta
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