Function model_mapper::with::try_hashmap

source ยท
pub fn try_hashmap<KI, VI, KF, VF>(
    from: HashMap<KF, VF>,
) -> Result<HashMap<KI, VI>, Error>
where KI: Eq + Hash, KF: Eq + Hash + TryInto<KI>, <KF as TryInto<KI>>::Error: Error + Send + Sync + 'static, VF: TryInto<VI>, <VF as TryInto<VI>>::Error: Error + Send + Sync + 'static,
Expand description

Mapper for HashMap