cargo::util::context

Module value

Source
Expand description

Deserialization of a Value<T> type which tracks where it was deserialized from.

Often Cargo wants to report semantic error information or other sorts of error information about configuration keys but it also may wish to indicate as an error context where the key was defined as well (to help user debugging). The Value<T> type here can be used to deserialize a T value from configuration, but also record where it was deserialized from when it was read.

Structsยง

Enumsยง

  • Location where a config value is defined.

Constantsยง

Staticsยง

Type Aliasesยง