fn id_pair_listed(&self, ed_id: &Ed25519Identity, rsa_id: &RsaIdentity) -> Option<bool> {
match relays[..].choose_weighted(rng, |r| self.weights.weight_rs_for_role(r.rs, role)) {
"After filtering, only had {}/{} relays with nonzero weight. Returning them all. See bug #1907.",
"After filtering, choose_multiple_weighted only returned {}/{} relays with nonzero weight. See bug #1907.",
pub fn weight_by_rsa_id(&self, rsa_id: &RsaIdentity, role: WeightRole) -> Option<RelayWeight> {
/// Return the relays in this network directory that will be used as hidden service directories
/// Return the relays in this network directory that will be used as hidden service directories
/// Returns the relays that are suitable for storing a given onion service's descriptors at the
/// Return the relays in this network directory that will be used as hidden service directories
pub fn hs_dirs<'r, R>(&'r self, hsid: &HsBlindId, op: HsDirOp, rng: &mut R) -> Vec<Relay<'r>>