pub(crate) trait ConsensusRelays {
// Required method
fn c_relays(&self) -> &TiSlice<RouterStatusIdx, MdRouterStatus>;
}Expand description
Extension trait to provide index-type-safe .c_relays() method
Required Methods§
Sourcefn c_relays(&self) -> &TiSlice<RouterStatusIdx, MdRouterStatus>
fn c_relays(&self) -> &TiSlice<RouterStatusIdx, MdRouterStatus>
Obtain the list of relays in the consensus