pub struct SledCache<T> { /* private fields */ }Expand description
A cache based on the Sled database.
Implementations§
Trait Implementations§
Source§impl<T: Clone + Serialize + for<'a> Deserialize<'a> + Send + Sync> Cache<T> for SledCache<T>
impl<T: Clone + Serialize + for<'a> Deserialize<'a> + Send + Sync> Cache<T> for SledCache<T>
Auto Trait Implementations§
impl<T> Freeze for SledCache<T>
impl<T> !RefUnwindSafe for SledCache<T>
impl<T> Send for SledCache<T>where
T: Send,
impl<T> Sync for SledCache<T>where
T: Sync,
impl<T> Unpin for SledCache<T>where
T: Unpin,
impl<T> !UnwindSafe for SledCache<T>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more