From c8b77b8252f237ecfe11d488df4f2dda64e1db3d Mon Sep 17 00:00:00 2001 From: Ron Kuris Date: Wed, 1 Nov 2023 09:52:46 -0700 Subject: [PATCH] Update shale/src/lib.rs Remove trait bounds Co-authored-by: Richard Pringle Signed-off-by: Ron Kuris --- shale/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shale/src/lib.rs b/shale/src/lib.rs index ba14e331e..ba761d35f 100644 --- a/shale/src/lib.rs +++ b/shale/src/lib.rs @@ -226,7 +226,7 @@ pub trait ShaleStore { /// A stored item type that can be decoded from or encoded to on-disk raw bytes. An efficient /// implementation could be directly transmuting to/from a POD struct. But sometimes necessary /// compression/decompression is needed to reduce disk I/O and facilitate faster in-memory access. -pub trait Storable: Debug + Send + Sync { +pub trait Storable { fn dehydrated_len(&self) -> u64; fn dehydrate(&self, to: &mut [u8]) -> Result<(), ShaleError>; fn hydrate(addr: usize, mem: &T) -> Result