Expand description
Code for notifying other modules about changes in the directory.
Re-exportsΒ§
use std::fmt;πuse std::marker::PhantomData;πuse std::pin::Pin;πuse std::sync::Arc;πuse std::sync::atomic::AtomicUsize;πuse std::sync::atomic::Ordering;πuse std::task::Poll;πuse std::time::SystemTime;πuse educe::Educe;πuse futures::Future;πuse futures::StreamExt;πuse futures::stream::Stream;πuse itertools::chain;πuse itertools::chain;πuse paste::paste;πuse time::OffsetDateTime;πuse tor_basic_utils::skip_fmt;πuse tor_netdir::DirEvent;πuse tor_netdoc::doc::netstatus;πuse tor_guardmgr::bridge::BridgeDescEvent;πuse crate::bootstrap::AttemptId;π
MacrosΒ§
- impl_
Flag πEvent - Implements
FlagEventfor a C-like enum
StructsΒ§
- DirBootstrap
Events - A stream of
DirBootstrapStatusevents. - DirBootstrap
Status - Description of the directory managerβs current bootstrapping status.
- DirStatus π
- The status for a single directory.
- Flag
Listener π - A
Streamthat returns a series of eventFlagEvents broadcast by aFlagPublisher. - Flag
Publisher π - A publisher that broadcasts flag-level events to multiple subscribers.
- Inner π
- Shared structure to implement
FlagPublisherandFlagListener. - 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.