Expand description
Primitives for working with typed and untyped configuration data.
Re-exports§
pub use self::duration_string::DurationString;pub use self::dynamic::FieldUpdateWatcher;pub use self::space_separated::deserialize_opt_space_separated_or_seq;pub use self::space_separated::deserialize_space_separated_or_seq;
Modules§
- duration_
string - A duration configuration value compatible with the Agent.
- dynamic
- Dynamic configuration.
- space_
separated - Serde deserializer for space-separated string lists.
- value
Valueand friends: types representing valid configuration values.
Structs§
- Configuration
Loader - A configuration loader that can pull from various sources.
- Generic
Configuration - A generic configuration object.
Enums§
- Configuration
Error - A configuration error.
- Parse
Duration Error - Error returned when a duration string can’t be parsed.
Functions§
- parse_
duration - Parses a string in the exact format accepted by Go’s
time.ParseDuration, restricted to non-negative values (sincestd::time::Durationcan’t represent negatives). - upsert
- Inserts or updates a value for a key.