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