Open vi opened 4 years ago
There is a variant Io
error in Zbox::Error https://docs.rs/zbox/0.8.8/zbox/enum.Error.html. Not sure why you cannot match it? Could you post your code?
Or maybe you're talking about convert Zbox::Error to Io::Error? In this case, you can only get description not the error kind. That's because many Zbox errors are not storage IO related, so there is no error kind for that.
Only text
description
is copied intostd::io::Error
, not the actual matchablezbox::Error
.