MCPcopy Create free account
hub / github.com/Rustixir/darkbird / Storage

Class Storage

src/darkbird/storage.rs:19–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17
18
19pub struct Storage<K, Doc: Document> {
20 // DashMap
21 collection: DashMap<K, Doc>,
22
23 // HashIndex
24 hash_index: HashIndex<K>,
25
26 // TagIndex
27 tag_index: TagIndex<K>,
28
29 // RangeIndex
30 range_index: RangeIndex<K>,
31
32 // InvertedIndex
33 inverted_index: InvertedIndex<K>,
34
35 // Wal session
36 wal_session: Session,
37
38 // Reporter session
39 reporter_session: router::Session<Event<K, Doc>>,
40
41 off_reporter: bool,
42
43 off_disk: bool
44}
45
46impl<K, Doc> Storage<K, Doc>
47where

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected