Skip to main content

Module maps

Module maps 

Source
Expand description

Column family descriptors used by the homeserver database.

The catalog names every configured map and supplies its RocksDB tuning profile. Database startup opens these descriptors as one coherent collection.

Re-exportsยง

use std::collections::BTreeMap; ๐Ÿ”’
use std::sync::Arc; ๐Ÿ”’
use rocksdb::DBCompressionType as CompressionType; ๐Ÿ”’
use tuwunel_core::Result; ๐Ÿ”’
use crate::Engine; ๐Ÿ”’
use crate::Map; ๐Ÿ”’
use crate::engine::descriptor; ๐Ÿ”’
use crate::engine::descriptor::CacheDisp; ๐Ÿ”’
use crate::engine::descriptor::Descriptor; ๐Ÿ”’

Staticsยง

MAPS ๐Ÿ”’
Defines the built-in column-family catalog and its RocksDB tuning.

Functionsยง

open ๐Ÿ”’
Opens every configured map in the built-in catalog.
open_list ๐Ÿ”’
Opens maps from an explicit descriptor list.

Type Aliasesยง

Indexed ๐Ÿ”’
Maps ๐Ÿ”’
Indexes opened logical maps by column-family name.
MapsKey ๐Ÿ”’
Names a column family in the map catalog.
MapsVal ๐Ÿ”’
Holds a shared logical map opened from a catalog descriptor.