zv: Broaden `Error` restriction on `TryFrom` bounds, implement `TryFrom<Value<'a>>` for `HashMap`
- This allows conversion as long as the error type implements
Into<crate::Error>
, instead of only forcrate::Error
. In particular, infallible conversions now apply here. -
HashMap
already implementedTryFrom<OwnedValue>
. Also implementTryFrom<Value<'a>>
.
With both of these changes, #135 (closed) is fixed.
Edited by Ian Douglas Scott