Expand description
This module defines and implements traits used to create a guard sample from either bridges or relays.
Re-exportsΒ§
use std::sync::Arc;πuse std::time::SystemTime;πuse tor_linkspec::ByRelayIds;πuse tor_linkspec::ChanTarget;πuse tor_linkspec::HasRelayIds;πuse tor_linkspec::OwnedChanTarget;πuse tor_netdir::NetDir;πuse tor_netdir::Relay;πuse tor_netdir::RelayWeight;πuse tor_relay_selection::RelayExclusion;πuse tor_relay_selection::RelaySelector;πuse tor_relay_selection::RelayUsage;πuse crate::GuardFilter;πuse crate::GuardParams;π
StructsΒ§
- Candidate π
- Information about a candidate that we have selected as a guard.
- Weight
Threshold π - Information about how much of the universe we are using in a guard sample, and how much we are allowed to use.
EnumsΒ§
- Candidate
Status π - Information about a single guard candidate, as returned by
Universe::status. - Universe
Ref π - Reference to a
Universeof one of the types supported by this crate.
TraitsΒ§
- Universe π
- A βUniverseβ is a source from which guard candidates are drawn, and from which guards are updated.