Module persistence

Module persistence 

Source
Expand description

Persistence and file format definitions. Persistence module for EdgeVec.

Handles file formats, serialization, recovery, and logging.

Re-exports§

pub use chunking::ChunkedWriter;
pub use header::FileHeader;
pub use header::Flags;
pub use header::HeaderError;
pub use header::MetadataHeaderError;
pub use header::MetadataSectionHeader;
pub use header::FORMAT_JSON;
pub use header::FORMAT_POSTCARD;
pub use header::MAGIC;
pub use header::METADATA_MAGIC;
pub use header::METADATA_VERSION;
pub use header::VERSION_MAJOR;
pub use header::VERSION_MINOR;
pub use header::VERSION_MINOR_MIN;
pub use reader::read_file_header;
pub use reader::read_index_header;
pub use snapshot::read_snapshot;
pub use snapshot::write_snapshot;
pub use storage::MemoryBackend;
pub use storage::StorageBackend;
pub use writer::write_empty_index;

Modules§

chunking
Storage chunking logic. Storage chunking logic for incremental persistence.
entry
WAL entry definitions.
header
File header definitions.
reader
Persistence reader.
snapshot
Snapshot management.
storage
Storage backend.
wal
Write-Ahead Log implementation.
writer
Persistence writer.

Enums§

PersistenceError
Errors that can occur during persistence operations.