Function tor_circmgr::path::pick_path

source ยท
fn pick_path<'a, B: AnonymousPathBuilder<'a>, R: Rng, RT: Runtime>(
    builder: &B,
    rng: &mut R,
    netdir: DirInfo<'a>,
    guards: Option<&GuardMgr<RT>>,
    config: &PathConfig,
    _now: SystemTime
) -> Result<(TorPath<'a>, Option<GuardMonitor>, Option<GuardUsable>)>
Expand description

Try to create and return a path corresponding to the requirements of this builder.