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.