Module guard

Source
Expand description

Code to represent its single guard node and track its status.

Structs§

CircHistory 🔒
The recent history of circuit activity on this guard.
CrateId 🔒
The name and version of the crate that first picked a potential guard.
Guard 🔒
A single guard node, as held by the guard manager.

Enums§

DisplayRule 🔒
What rule do we use when we’re displaying information about a guard?
GuardDisabled 🔒
A reason for permanently disabling a guard.
NewlyConfirmed 🔒
Wrapper to declare whether a given successful use of a guard is the first successful use of the guard.
Reachable 🔒
Tri-state to represent whether a guard is believed to be reachable or not.

Constants§

GUARD_DIR_RETRY_FLOOR 🔒
Lower bound for delay after get a failure using a guard as a directory cache.

Functions§

guard_dirstatus 🔒
Return a DirStatus entry for a guard.
retry_schedule 🔒
Return a new RetryDelay tracker for a guard.