/// Routing table invariants hold if it is well formed
Routing table invariants hold if it is well formed
Routing table invariants hold if it is well formed
pub(crate) fn check_routing_table_invariants(
    snapshot: &RegistrySnapshot,
) -> Result<(), InvariantCheckError> {
    get_routing_table(snapshot)
        .well_formed()
        .map_err(|e| InvariantCheckError {
            msg: format!("routing table is not well formed {:?}", e),
            source: None,
        })
}
pub ( crate ) fn check_routing_table_invariants ( snapshot : & RegistrySnapshot , ) -> Result < ( ) , InvariantCheckError > { get_routing_table ( snapshot ) . well_formed ( ) . map_err ( | e | InvariantCheckError { msg : format ! ( " " e ) , source : None , } ) }
Routing table invariants hold if it is well formed
Routing table invariants hold if it is well formed
snapshot
&RegistrySnapshot