Improved error handling
Modernize and improve error handling
- Merge the
ErrorandErrorKindenums. - Move the
Errorenum to theerrormodule. - Derive trait implementations using the
thiserrorcrate. - Make the
Errorenum non-exhaustive - Replace the
ChunkIdentifier::try_frommethod by an implementation of theTryFromcrate.
This release also feature-gates the memmap dependency (the memmap feature is enabled by default).