Module event

Source
Expand description

Code for notifying other modules about changes in the directory.

Macros§

impl_FlagEvent 🔒
Implements FlagEvent for a C-like enum

Structs§

DirBootstrapEvents
A stream of DirBootstrapStatus events.
DirBootstrapStatus
Description of the directory manager’s current bootstrapping status.
DirStatus 🔒
The status for a single directory.
FlagListener 🔒
A [Stream] that returns a series of event FlagEvents broadcast by a FlagPublisher.
FlagPublisher 🔒
A publisher that broadcasts flag-level events to multiple subscribers.
Inner 🔒
Shared structure to implement FlagPublisher and FlagListener.
StatusEntry 🔒
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?
StatusEnum 🔒
The contents of a DirBootstrapStatus.

Traits§

FlagEvent 🔒
A trait to indicate something that can be published with FlagPublisher.