mirror of
https://github.com/Cuprate/cuprate.git
synced 2025-01-09 12:29:45 +00:00
f7bd1304e2
* error: add variants to `RuntimeError`
* error: remove `<BackendError>` generic
we can just map each backend error variant <-> our error as needed
* backend: impl `From<heed::Error>` for `RuntimeError`
* add `Never` type to allow foreign trait implementations
This is a newtype to workaround `sanakirja::Storable` not being
able to be implemented on `std::convert::Infallible` due to
"foreign trait on foreign type" rules.
* revert
|
||
---|---|---|
.. | ||
backend | ||
ops | ||
service | ||
constants.rs | ||
database.rs | ||
env.rs | ||
error.rs | ||
free.rs | ||
key.rs | ||
lib.rs | ||
macros.rs | ||
pod.rs | ||
table.rs | ||
tables.rs | ||
transaction.rs |