Skip to main content

Module config

Module config 

Source
Expand description

Machine configuration: one TOML file per machine, with a format version and units in the field names.

Structs§

Config

Enums§

Bound
The limit that the shared readers (Config::positive, non_negative, f64) refused a value for.
ConfigError
Carries a translation key and a detail (usually the config path), never display text.
ConfigHint
What Config::hint finds to say beside an error.

Constants§

FORMAT_VERSION

Functions§

number
value as a config’s number at path, for a reader that takes it from TOML itself: refused out of range.