Skip to main content

Module event

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.