pub enum RecordKind {
Data,
Checkpoint,
Tombstone,
}Expand description
The kind of record stored in the log.
This enum distinguishes between different record types to enable efficient processing and verification.
Variants§
Data
Normal application data record.
Checkpoint
Periodic verification checkpoint (contains cumulative hash).
Tombstone
Logical deletion marker (data is not physically deleted).
Implementations§
Trait Implementations§
Source§impl Clone for RecordKind
impl Clone for RecordKind
Source§fn clone(&self) -> RecordKind
fn clone(&self) -> RecordKind
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 RecordKind
impl Debug for RecordKind
Source§impl Default for RecordKind
impl Default for RecordKind
Source§fn default() -> RecordKind
fn default() -> RecordKind
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RecordKind
impl<'de> Deserialize<'de> for RecordKind
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
Source§impl Hash for RecordKind
impl Hash for RecordKind
Source§impl PartialEq for RecordKind
impl PartialEq for RecordKind
Source§impl Serialize for RecordKind
impl Serialize for RecordKind
impl Copy for RecordKind
impl Eq for RecordKind
impl StructuralPartialEq for RecordKind
Auto Trait Implementations§
impl Freeze for RecordKind
impl RefUnwindSafe for RecordKind
impl Send for RecordKind
impl Sync for RecordKind
impl Unpin for RecordKind
impl UnwindSafe for RecordKind
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