Trait 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§

Source

fn get_netdir(&self) -> Option<Arc<NetDir>>

Get the previous netdir, if there still is one.

Implementors§