config::Writeable: Write config in try_update
This cleans up the code around updating and saving writeable configs:
- update_return was unused and is removed
- renames
x_result
methods totry_x
for better consistency with std - write the config for
Writeable
in try_update. Removes theupdate
impl forWriteable
in the process, to ensure writing the config is never bypassed - to bypass writing the config introduce
update_no_commit
onArcSwap<Writeable>
Edited by Fina Wilke