Function model_mapper::with::try_hashmap_extra
source · pub fn try_hashmap_extra<KI, VI, KF, VF>(
from: HashMap<KF, VF>
) -> Result<HashMap<KI, VI>, Error>where
KI: Eq + Hash,
KF: Eq + Hash + TryExtraInto<KI>,
<KF as TryExtraInto<KI>>::Error: Error + Send + Sync + 'static,
VF: TryExtraInto<VI>,
<VF as TryExtraInto<VI>>::Error: Error + Send + Sync + 'static,Expand description
Mapper for HashMap