enum Log<K, V> {
Lookup {
key: K,
result: Option<V>,
},
Insert {
key: K,
result: Option<V>,
},
Delete {
key: K,
result: Option<V>,
},
}Expand description
Successful operations are logged as Some. Failed operations are None.
We currently only make use of the Some variant for result.
Variants§
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<K, V> Freeze for Log<K, V>
impl<K, V> RefUnwindSafe for Log<K, V>where
K: RefUnwindSafe,
V: RefUnwindSafe,
impl<K, V> Send for Log<K, V>
impl<K, V> Sync for Log<K, V>
impl<K, V> Unpin for Log<K, V>
impl<K, V> UnwindSafe for Log<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