Struct tor_dirmgr::DirMgrConfigBuilder [−][src]
pub struct DirMgrConfigBuilder { /* fields omitted */ }
Expand description
Builder for DirMgrConfig
.
Implementations
Location to use for storing and reading current-format directory information.
Configuration information about the network.
Configuration information about when we download things.
A map of network parameters that we’re overriding from their settings in the consensus.
Overrides the network consensus parameter named param
with a
new value.
If the new value is out of range, it will be clamped to the acceptable range.
If the parameter is not recognized by Arti, it will be ignored, and a warning will be produced when we try to apply it to the consensus.
By default no parameters will be overridden.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for DirMgrConfigBuilder
impl Send for DirMgrConfigBuilder
impl Sync for DirMgrConfigBuilder
impl Unpin for DirMgrConfigBuilder
impl UnwindSafe for DirMgrConfigBuilder
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more