Module abscissa::config[][src]

Support for managing global configuration, as well as loading it from TOML

Structs

ConfigReader

Wrapper around a RwLockReadGuard for reading global configuration data from global static values defined by the init_config! macro.

Traits

GlobalConfig

Common functions for loading and reading application configuration from TOML files (providing a global lock which allows many readers, and can be automatically implemented using the impl_global_config! macro.

LoadConfig

Support for loading configuration from a file. Does not modify the global configuration. Only handles parsing and deserializing it from files.