Enum remoc_obs::hashmap::HashMapEvent
source · [−]pub enum HashMapEvent<K, V> {
Set(K, V),
Remove(K),
Clear,
}Expand description
A hash map change event.
Variants
Set(K, V)
An item was inserted or modified.
Remove(K)
An item was removed.
Clear
All items were removed.
Trait Implementations
impl<'de, K, V> Deserialize<'de> for HashMapEvent<K, V> where
K: Deserialize<'de>,
V: Deserialize<'de>,
impl<'de, K, V> Deserialize<'de> for HashMapEvent<K, V> where
K: Deserialize<'de>,
V: Deserialize<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
This method returns an ordering between self and other values if one exists. Read more
This method tests less than (for self and other) and is used by the < operator. Read more
This method tests less than or equal to (for self and other) and is used by the <=
operator. Read more
This method tests greater than (for self and other) and is used by the > operator. Read more
Auto Trait Implementations
impl<K, V> RefUnwindSafe for HashMapEvent<K, V> where
K: RefUnwindSafe,
V: RefUnwindSafe,
impl<K, V> Send for HashMapEvent<K, V> where
K: Send,
V: Send,
impl<K, V> Sync for HashMapEvent<K, V> where
K: Sync,
V: Sync,
impl<K, V> Unpin for HashMapEvent<K, V> where
K: Unpin,
V: Unpin,
impl<K, V> UnwindSafe for HashMapEvent<K, V> where
K: UnwindSafe,
V: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more