Trait tor_circmgr::hspool::HsCircPoolConfig

source ·
pub trait HsCircPoolConfig {
    // Required method
    fn vanguard_config(&self) -> &VanguardConfig;
}
Available on crate feature hs-common only.
Expand description

Configuration for an HsCircPool.

If the HsCircPool 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§

source

fn vanguard_config(&self) -> &VanguardConfig

Available on crate feature vanguards only.

Access the field

Implementors§