pub trait CircMgrConfig:
AsRef<PathConfig>
+ AsRef<CircuitTiming>
+ AsRef<PreemptiveCircuitConfig>
+ GuardMgrConfig {
// Required method
fn vanguard_config(&self) -> &VanguardConfig;
// Provided methods
fn path_rules(&self) -> &PathConfig { ... }
fn circuit_timing(&self) -> &CircuitTiming { ... }
fn preemptive_circuits(&self) -> &PreemptiveCircuitConfig { ... }
}
Expand description
Configuration for a circuit manager
If the circuit manager gains new configurabilities, this trait will gain additional supertraits, as an API break.
Prefer to use TorClientConfig
, which will always implement this trait.
Required Methods§
Sourcefn vanguard_config(&self) -> &VanguardConfig
Available on crate features vanguards
and hs-common
only.
fn vanguard_config(&self) -> &VanguardConfig
vanguards
and hs-common
only.Access the field
Provided Methods§
Sourcefn path_rules(&self) -> &PathConfig
fn path_rules(&self) -> &PathConfig
Access the field
Sourcefn circuit_timing(&self) -> &CircuitTiming
fn circuit_timing(&self) -> &CircuitTiming
Access the field
Sourcefn preemptive_circuits(&self) -> &PreemptiveCircuitConfig
fn preemptive_circuits(&self) -> &PreemptiveCircuitConfig
Access the field