1 2 3 4 5 6 7 8 9 10 11 12
//! Write-Ahead Log module //! //! Provides durability for write operations before segment commit. //! Format: Magic(4B) | Type(1B) | Length(4B) | CRC32(4B) | Payload(variable) pub mod format; pub mod reader; pub mod writer; pub use format::{TaskArtifactWalPayload, WalRecord, WalRecordType, WAL_MAGIC}; pub use reader::{recovery, WalReader}; pub use writer::WalWriter;