pub struct ConfigContext<'a> { /* private fields */ }
Expand description

Configuration Context.

Configuration context contains current level of config key and configuration instance. It is designed for parsing partial config by partial key and default value.

Implementations

Parse partial config by partial key and default value.

Get current key in context.

Parse config value error.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.