linkrs-core 0.1.0

Core data structures, types, and errors for Linkrs
Documentation
//! Write-Ahead Log (WAL) Core Types
//!
//! Provides the fundamental types and traits for the Write-Ahead Log system.
//! These types are shared between the transaction layer and storage engine.

pub mod redo;
pub mod sync;
pub mod traits;
pub mod types;

pub use redo::{
    AddEdgePropRedo, AddVertexPropRedo, ClearSpaceRedo, CompactRedo, CreateEdgeIndexRedo,
    CreateEdgeTypeRedo, CreateSpaceRedo, CreateTagIndexRedo, CreateVertexTypeRedo,
    DeleteEdgePropRedo, DeleteEdgeRedo, DeleteEdgeTypeRedo, DeleteVertexPropRedo,
    DeleteVertexPropsRedo, DeleteVertexRedo, DeleteVertexTypeRedo, DropEdgeIndexRedo, DropSpaceRedo,
    DropTagIndexRedo, InsertEdgeRedo, InsertVertexRedo, RenameEdgePropRedo, RenameVertexPropRedo,
    UpdateEdgePropRedo, UpdateSequenceRedo, UpdateVertexPropRedo,
};
pub use sync::{
    EntityRef, IndexMutation, IndexOperation, LifecycleMutation, OutboxIntent, TransactionAbort,
    TransactionCommit, WAL_SYNC_WIRE_VERSION,
};
pub use traits::{RecoveryApplier, WalWriter};
pub use types::{
    align_to_block, block_padding_needed, blocks_needed, is_block_aligned, wal_flags, ArchiveMode,
    CompressionLevel, Lsn, ParsedWalEntry, RecordType, RecoveryResult, SyncPolicy, WalCompression,
    WalConfig, WalError, WalFileHeader, WalHeader, WalOpType, WalRecoveryMode, WalResult, WalStats,
    WAL_BLOCK_SIZE, WAL_FILE_HEADER_SIZE, WAL_HEADER_SIZE, WAL_MAGIC, WAL_MAX_RECORD_SIZE,
    WAL_VERSION,
};