pub enum HashMapEvent<K, V> {
InitialComplete,
Set(K, V),
Remove(K),
Clear,
ShrinkToFit,
Done,
}👎Deprecated: remoc-obs has been integrated into remoc as module remoc::robs. Please update your references.
Expand description
A hash map change event.
Variants§
InitialComplete
👎Deprecated: remoc-obs has been integrated into remoc as module remoc::robs. Please update your references.
The incremental subscription has reached the value of the observed hash map at the time it was subscribed.
Set(K, V)
👎Deprecated: remoc-obs has been integrated into remoc as module remoc::robs. Please update your references.
An item was inserted or modified.
Remove(K)
👎Deprecated: remoc-obs has been integrated into remoc as module remoc::robs. Please update your references.
An item was removed.
Clear
👎Deprecated: remoc-obs has been integrated into remoc as module remoc::robs. Please update your references.
All items were removed.
ShrinkToFit
👎Deprecated: remoc-obs has been integrated into remoc as module remoc::robs. Please update your references.
Shrink capacity to fit.
Done
👎Deprecated: remoc-obs has been integrated into remoc as module remoc::robs. Please update your references.
The hash map has reached its final state and no further events will occur.
Trait Implementations§
Source§impl<K: Clone, V: Clone> Clone for HashMapEvent<K, V>
impl<K: Clone, V: Clone> Clone for HashMapEvent<K, V>
Source§fn clone(&self) -> HashMapEvent<K, V>
fn clone(&self) -> HashMapEvent<K, V>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§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>,
Source§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
Source§impl<K, V> Serialize for HashMapEvent<K, V>
impl<K, V> Serialize for HashMapEvent<K, V>
impl<K: Eq, V: Eq> Eq for HashMapEvent<K, V>
impl<K, V> StructuralPartialEq for HashMapEvent<K, V>
Auto Trait Implementations§
impl<K, V> Freeze for HashMapEvent<K, V>
impl<K, V> RefUnwindSafe for HashMapEvent<K, V>where
K: RefUnwindSafe,
V: RefUnwindSafe,
impl<K, V> Send for HashMapEvent<K, V>
impl<K, V> Sync for HashMapEvent<K, V>
impl<K, V> Unpin for HashMapEvent<K, V>
impl<K, V> UnwindSafe for HashMapEvent<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