Re-exports§
pub use crate::commit::Commit;pub use crate::commit::StoredCommit;pub use crate::payload::Decoder;pub use crate::payload::Encode;pub use crate::segment::Transaction;pub use crate::segment::DEFAULT_LOG_FORMAT_VERSION;
Modules§
Structs§
- Commitlog
- The canonical commitlog, backed by on-disk log files.
- Options
Commitlogoptions.- Varchar
- An owned string with a max length of
N, like the venerable VARCHAR.
Functions§
- commits
- Obtain an iterator which traverses the commitlog located at the
rootdirectory from the start, yieldingStoredCommits. - commits_
from - Obtain an iterator which traverses the commitlog located at the
rootdirectory starting fromoffsetand yieldingStoredCommits. - committed_
meta - Extract the most recently written
segment::Metadatafrom the commitlog inrepo. - fold_
transactions - Traverse the commitlog located at the
rootdirectory from the start and “fold” its transactions into the providedDecoder. - fold_
transactions_ from - Traverse the commitlog located at the
rootdirectory starting fromoffsetand “fold” its transactions into the providedDecoder. - transactions
- Obtain an iterator which traverses the commitlog located at the
rootdirectory from the start, yieldingTransactions. - transactions_
from - Obtain an iterator which traverses the commitlog located at the
rootdirectory starting fromoffsetand yieldingTransactions.