Crate dtlog

Source
Expand description

dtlog

A log for tracking discard stats of multi-files databases.

github LoC Build codecov

docs.rs crates.io crates.io license

English | 简体中文

§Installation

  • Default

    [dependencies]
    dtlog = "0.1"
  • use without std (alloc required)

    [dependencies]
    dtlog = { version = "0.1", default-features = false, features = ["alloc"] }

§Examples

Please see examples.

§License

dtlog is under the terms of both the MIT license and the Apache License (Version 2.0).

See LICENSE-APACHE, LICENSE-MIT for details.

Copyright (c) 2024 Al Liu.

Modules§

error
Error types
iter
Iterators for the discard log.

Structs§

DiscardLog
A discard log that stores the discard stats for each file id.
ImmutableDiscardLogmemmap and non-target_family="wasm"
An immutable discard log that stores the discard stats for each file id.
Options
Options for configuring the value log.

Traits§

Comparable
Key ordering trait.
Equivalent
Key equivalence trait.
Fid
An abstraction of file id.
Type
The type trait for limiting the types that can be used as keys and values.
TypeRef
The reference type trait for the Type trait.