Enum ditto::map::LocalOp [] [src]

pub enum LocalOp<K, V> {
    Insert {
        key: K,
        value: V,
    },
    Remove {
        key: K,
    },
}

Variants

Fields of Insert

Fields of Remove

Trait Implementations

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

[src]

Formats the value using the given formatter. Read more

impl<K: Clone, V: Clone> Clone for LocalOp<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 LocalOp<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 !=.

Auto Trait Implementations

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

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