fn connection_type_from_paths( paths: impl IntoIterator<Item = IrohPath>, ) -> Option<ConnectionType>