fn id_pair_listed(&self, ed_id: &Ed25519Identity, rsa_id: &RsaIdentity) -> Option<bool> {
) -> StdResult<VerbatimLinkSpecCircTarget<OwnedCircTarget>, VerbatimCircTargetDecodeError> {
"After filtering, only had {}/{} items with nonzero weight. Returning them all. See bug #1907.",
"Requested {n} relays, but only {n_usable} were usable, and only {n_found} were chosen after weighting {role:?}.",
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>>
// If *any* item (relay) has non-zero weight, then we return only those, even if we asked for more.