Open ghost opened 1 year ago
We should probably have HashProxy
implement TryFrom
in this case. Would that work for your use case?
I do believe it would, yes! For reference, I learned more and have since moved away from HashProxy
for my use case, however, this would still be good for newcomers.
Attempting to use a
HashProxy<String, DefaultHasher, BinaryFuse8>
is impossible in the current state due toHashProxy::from
failing. You can reproduce by replacingXor8
withBinaryFuse8
in the example.Output from cargo: