diff options
author | Alex Auvolat <alex@adnab.me> | 2024-03-08 16:38:01 +0100 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2024-03-08 16:38:01 +0100 |
commit | b942949940b5a0dec8e8640c44a2705a4482a2e4 (patch) | |
tree | 5d59eb2a6fd9d62f075e8bf094ba3e78a0dbbaf7 /src/db/lib.rs | |
parent | 66c23890c1a6e73fd6c5246642e087cd2866451e (diff) | |
download | garage-b942949940b5a0dec8e8640c44a2705a4482a2e4.tar.gz garage-b942949940b5a0dec8e8640c44a2705a4482a2e4.zip |
[rm-sled] Implement iterators in sqlite & lmdb transactions
with way too much unsafe code
Diffstat (limited to 'src/db/lib.rs')
-rw-r--r-- | src/db/lib.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/db/lib.rs b/src/db/lib.rs index 5881954d..ff511b5f 100644 --- a/src/db/lib.rs +++ b/src/db/lib.rs @@ -51,6 +51,7 @@ pub type Result<T> = std::result::Result<T, Error>; pub struct TxOpError(pub(crate) Error); pub type TxOpResult<T> = std::result::Result<T, TxOpError>; +#[derive(Debug)] pub enum TxError<E> { Abort(E), Db(Error), |