Currently, the HashMap entry types are never Send or Sync. It seems to me that the Entry types should be Send whenever their key/value types are Send and Sync whenever their key/value types are Sync. Properly implementing Send/Sync for OccupiedEntry and VacantEntry will solve the problem for Entry as well. Is there any known reason why Entry and friends should not be Send or Sync?
Currently, the
HashMapentry types are neverSendorSync. It seems to me that theEntrytypes should beSendwhenever their key/value types areSendandSyncwhenever their key/value types areSync. Properly implementingSend/SyncforOccupiedEntryandVacantEntrywill solve the problem forEntryas well. Is there any known reason whyEntryand friends should not beSendorSync?