enarx-archive / sev

Library for AMD SEV
Apache License 2.0
20 stars 15 forks source link

impl From<Indeterminate<Error>> for std::io::Error #51

Closed tylerfanelli closed 3 years ago

tylerfanelli commented 3 years ago

Implementing #31 allowing more convenience for callers. If Indeterminate is a known IoError, the io::Error can simply be returned for context. If not, io::Error::Other is returned.

connorkuehl commented 3 years ago

@tfanelli-rh Please fix the cargo clippy errors. Don't sweat the failing tests, that's an infrastructure thing, not a your-PR-thing.