Trait tor_dirmgr::state::PreviousNetDir
source · pub(crate) trait PreviousNetDir: Send + Sync + 'static + Debug {
// Required method
fn get_netdir(&self) -> Option<Arc<NetDir>>;
}
Expand description
An object that can provide a previous netdir for the bootstrapping state machines to use.
Required Methods§
sourcefn get_netdir(&self) -> Option<Arc<NetDir>>
fn get_netdir(&self) -> Option<Arc<NetDir>>
Get the previous netdir, if there still is one.