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
Commitlog
options.- 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
root
directory from the start, yieldingStoredCommit
s. - commits_
from - Obtain an iterator which traverses the commitlog located at the
root
directory starting fromoffset
and yieldingStoredCommit
s. - committed_
meta - Extract the most recently written
segment::Metadata
from the commitlog inrepo
. - fold_
transactions - Traverse the commitlog located at the
root
directory from the start and “fold” its transactions into the providedDecoder
. - fold_
transactions_ from - Traverse the commitlog located at the
root
directory starting fromoffset
and “fold” its transactions into the providedDecoder
. - transactions
- Obtain an iterator which traverses the commitlog located at the
root
directory from the start, yieldingTransaction
s. - transactions_
from - Obtain an iterator which traverses the commitlog located at the
root
directory starting fromoffset
and yieldingTransaction
s.