pub enum UpdateCommand<K, V> {
Update(K, V, V),
Add(K, V),
Remove(K, V),
}
Variants§
Trait Implementations§
Source§impl<K, V> Ord for UpdateCommand<K, V>
impl<K, V> Ord for UpdateCommand<K, V>
Source§impl<K: PartialOrd, V: PartialOrd> PartialOrd for UpdateCommand<K, V>
impl<K: PartialOrd, V: PartialOrd> PartialOrd for UpdateCommand<K, V>
impl<K: Eq, V: Eq> Eq for UpdateCommand<K, V>
impl<K, V> StructuralPartialEq for UpdateCommand<K, V>
Auto Trait Implementations§
impl<K, V> Freeze for UpdateCommand<K, V>
impl<K, V> RefUnwindSafe for UpdateCommand<K, V>where
K: RefUnwindSafe,
V: RefUnwindSafe,
impl<K, V> Send for UpdateCommand<K, V>
impl<K, V> Sync for UpdateCommand<K, V>
impl<K, V> Unpin for UpdateCommand<K, V>
impl<K, V> UnwindSafe for UpdateCommand<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
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.