pub struct DashMapStorage<K, V> { /* private fields */ }Trait Implementations§
Source§impl<K: Hash + Eq, V: Clone> Storage<K, V> for DashMapStorage<K, V>
impl<K: Hash + Eq, V: Clone> Storage<K, V> for DashMapStorage<K, V>
fn get(&self, key: K) -> Result<Option<V>, Err>
fn set(&self, key: K, value: V) -> Result<(), Err>
fn set_ex(&self, _key: K, _value: V, _expire: Duration) -> Result<(), Err>
fn del(&self, key: K) -> Result<Option<K>, Err>
fn contains(&self, key: K) -> Result<bool, Err>
Auto Trait Implementations§
impl<K, V> Freeze for DashMapStorage<K, V>
impl<K, V> !RefUnwindSafe for DashMapStorage<K, V>
impl<K, V> Send for DashMapStorage<K, V>
impl<K, V> Sync for DashMapStorage<K, V>
impl<K, V> Unpin for DashMapStorage<K, V>
impl<K, V> UnwindSafe for DashMapStorage<K, V>where
K: UnwindSafe,
V: UnwindSafe,
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