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.