pub trait CircMgrConfig: AsRef<PathConfig> + AsRef<CircuitTiming> + AsRef<PreemptiveCircuitConfig> + GuardMgrConfig {
    // 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.

Provided Methods§

source

fn path_rules(&self) -> &PathConfig

Access the field

source

fn circuit_timing(&self) -> &CircuitTiming

Access the field

source

fn preemptive_circuits(&self) -> &PreemptiveCircuitConfig

Access the field

Implementors§