Searched defs:NetDir (Results 1 – 10 of 10) sorted by relevance
269 pub struct NetDir { struct273 consensus: Arc<MdConsensus>,297 /// This is constructed at the same time as the NetDir object, so it argument306 /// A partially build NetDir -- it can't be unwrapped until it has argument431 pub fn unwrap_if_sufficient(self) -> std::result::Result<NetDir, PartialNetDir> { in unwrap_if_sufficient()457 impl NetDir { impl822 impl MdReceiver for NetDir { implementation
316 pub fn update_network(&self, netdir: &NetDir) { in update_network()329 pub fn set_filter(&self, filter: GuardFilter, netdir: &NetDir) { in set_filter()397 netdir: Option<&NetDir>, in select_guard()472 fn update(&mut self, now: SystemTime, netdir: Option<&NetDir>) { in update()672 netdir: Option<&NetDir>, in select_guard_with_retries()950 fn init<R: Runtime>(rt: R) -> (GuardMgr<R>, TestingStateMgr, NetDir) { in init() argument
269 dir: &NetDir, in extend_sample_as_needed()389 pub(crate) fn update_status_from_netdir(&mut self, dir: &NetDir) { in update_status_from_netdir()
327 pub(crate) fn update_from_netdir(&mut self, netdir: &NetDir) { in update_from_netdir()
156 pub async fn load_once(runtime: R, config: DirMgrConfig) -> Result<Arc<NetDir>> { in load_once()178 ) -> Result<Arc<NetDir>> { in load_or_bootstrap_once()466 fn opt_netdir(&self) -> Option<Arc<NetDir>> { in opt_netdir()472 pub fn netdir(&self) -> Arc<NetDir> { in netdir()
59 fn netdir(&self) -> &SharedMutArc<NetDir>; in netdir()81 fn netdir(&self) -> &SharedMutArc<NetDir> { in netdir()822 fn netdir(&self) -> &SharedMutArc<NetDir> { in netdir()
731 ## NetDir section in v1.7.0, Mon Jan 7, 20191080 ## NetDir section in v1.5.3, Wed Dec 20, 2017
231 pub fn update_network(&self, netdir: &NetDir) { in update_network()
76 netdir: &'a NetDir, in pick_exit()
65 static PACKETDIR NetDir; ///< Indicates whether a message is being serialised (PACKET_ENCODE) … variable