Sets value of settingName into newValue with reason set to reason. The change will be applied to the folly::settings::Snapshot associated with SettingsAccessorProxy. This function will do setting name expantion via toFullyQualifiedName() if needed.

Synopsis

Declared in <folly/settings/SettingsAccessorProxy.h>

virtual
SetResult
setFromString(
    std::string_view settingName,
    std::string_view newValue,
    std::string_view reason) override;

Return Value

The result of the update operation.

Parameters

Name

Description

settingName

name of the setting to update

newValue

new value to assign, as a string

reason

for update

Created with MrDocs