Expand description
Logic for selecting relays from a network directory, and reporting the outcome of such a selection.
Re-exportsΒ§
use crate::LowLevelRelayPredicate;πuse crate::RelayExclusion;πuse crate::RelayRestriction;πuse crate::RelayUsage;πuse tor_basic_utils::iter::FilterCount;πuse tor_netdir::NetDir;πuse tor_netdir::Relay;πuse tor_netdir::WeightRole;πuse std::fmt;π
StructsΒ§
- FcDisp π
- Helper to display filter counts
- Filter
Counts π - A list of
FilterCount, associated with aRelaySelector. - Relay
Selector - Description of the requirements that a relay must implement in order to be selected.
- Restr π
- A single restriction, along with a flag about whether itβs strict.
- Selection
Info - Information about how a given selection was generated.
FunctionsΒ§
- with_
possible_ πrelaxation - Re-run relay selection, relaxing our selector as necessary.