Enum evmap::Operation [] [src]

pub enum Operation<K, V> {
    Replace(K, V),
    Add(K, V),
    Remove(K, V),
    Empty(K),
    Clear(K),
}

A pending map operation.

Variants

Replace the set of entries for this key with this value.

Add this value to the set of entries for this key.

Remove this value from the set of entries for this key.

Remove the value set for this key.

Remove all values in the value set for this key.

Trait Implementations

impl<K: Clone, V: Clone> Clone for Operation<K, V>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<K: PartialEq, V: PartialEq> PartialEq for Operation<K, V>
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl<K: Eq, V: Eq> Eq for Operation<K, V>
[src]

impl<K: Debug, V: Debug> Debug for Operation<K, V>
[src]

[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl<K, V> Send for Operation<K, V> where
    K: Send,
    V: Send

impl<K, V> Sync for Operation<K, V> where
    K: Sync,
    V: Sync