Expand description
Functionality for accessing and modifying configuration over RPC
Re-exportsยง
use std::sync::Arc;๐use tor_rpcbase as rpc;๐use tor_rtcompat::Runtime;๐use crate::rpc::RpcSuperuser;๐
Structsยง
- Config
Settings - A set of configuration options maintained by the RPC subsystem.
- Config
Value - One or more configuration settings returned by the RPC subsystem.
- GetConfig ๐
- Return the value of part of the configuration tree.
- GetConfig
Result ๐ - The result from a call to
arti:get_config - SetConfig ๐
- Change the value of a part of the configuration tree.
Functionsยง
- get_
config_ ๐on_ rpcsuperuser - RPC method implementation: invoke
arti:get_configon a supuruser session. - set_
config_ ๐on_ rpcsuperuser - RPC method implementation: invoke
arti:set_configon a superuser session.