drive

Function drive 

Source
pub fn drive(
    config: &DatadogConfiguration,
    consumer: &mut impl DatadogConfigWitness,
) -> Result<(), TranslateErrors>
Expand description

Drives a consumer over every supported key in config, calling each consume_<key> exactly once with the value navigated from config.

ยงErrors

Returns every TranslateError the consumer recorded, once all keys are consumed.