Expand description
Code for notifying other modules about changes in the directory.
Macros§
- impl_
Flag 🔒Event - Implements
FlagEvent
for a C-like enum
Structs§
- DirBootstrap
Events - A stream of
DirBootstrapStatus
events. - DirBootstrap
Status - Description of the directory manager’s current bootstrapping status.
- DirStatus 🔒
- The status for a single directory.
- Flag
Listener 🔒 - A [
Stream
] that returns a series of eventFlagEvent
s broadcast by aFlagPublisher
. - Flag
Publisher 🔒 - A publisher that broadcasts flag-level events to multiple subscribers.
- Inner 🔒
- Shared structure to implement
FlagPublisher
andFlagListener
. - Status
Entry 🔒 - The status and identifier of a single attempt to download a full directory.
Enums§
- DirBlockage
- A reported diagnostic for what kind of trouble we’ve seen while trying to bootstrap a directory.
- DirProgress 🔒
- How much progress have we made in downloading a given directory?
- Status
Enum 🔒 - The contents of a DirBootstrapStatus.
Traits§
- Flag
Event 🔒 - A trait to indicate something that can be published with
FlagPublisher
.