Skip to main content

Module guard

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.