From d9c5e9a20eda285a16555106dce4a9d2b913225b Mon Sep 17 00:00:00 2001 From: Kim Altintop Date: Fri, 16 May 2025 08:05:22 +0200 Subject: [PATCH] Make storage error `Send + Sync + 'static` It is very common in applications that `Err` results are sent across thread boundaries, which the missing bounds complicate unnecessarily. Also makes the error compatible with `anyhow`. --- omnipaxos/src/storage/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/omnipaxos/src/storage/mod.rs b/omnipaxos/src/storage/mod.rs index a79fd567..310982e3 100644 --- a/omnipaxos/src/storage/mod.rs +++ b/omnipaxos/src/storage/mod.rs @@ -95,7 +95,7 @@ where } /// The Result type returned by the storage API. -pub type StorageResult = Result>; +pub type StorageResult = Result>; /// The write operations of the storge implementation. #[derive(Debug)]