Module tor_dirmgr::event
source · Expand description
Code for notifying other modules about changes in the directory.
Macros§
- Implements
FlagEvent
for a C-like enum
Structs§
- A stream of
DirBootstrapStatus
events. - Description of the directory manager’s current bootstrapping status.
- The status for a single directory.
- A publisher that broadcasts flag-level events to multiple subscribers.
- Inner 🔒Shared structure to implement
FlagPublisher
andFlagListener
. - The status and identifier of a single attempt to download a full directory.
Enums§
- A reported diagnostic for what kind of trouble we’ve seen while trying to bootstrap a directory.
- How much progress have we made in downloading a given directory?
- The contents of a DirBootstrapStatus.
Traits§
- A trait to indicate something that can be published with
FlagPublisher
.