pub enum HashSetEvent<T> {
InitialComplete,
Set(T),
Remove(T),
Clear,
ShrinkToFit,
Done,
}👎Deprecated: remoc-obs has been integrated into remoc as module remoc::robs. Please update your references.
Expand description
A hash set 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 set at the time it was subscribed.
Set(T)
👎Deprecated: remoc-obs has been integrated into remoc as module remoc::robs. Please update your references.
An item was inserted or modified.
Remove(T)
👎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 set has reached its final state and no further events will occur.
Trait Implementations§
Source§impl<T: Clone> Clone for HashSetEvent<T>
impl<T: Clone> Clone for HashSetEvent<T>
Source§fn clone(&self) -> HashSetEvent<T>
fn clone(&self) -> HashSetEvent<T>
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<T: Debug> Debug for HashSetEvent<T>
impl<T: Debug> Debug for HashSetEvent<T>
Source§impl<'de, T> Deserialize<'de> for HashSetEvent<T>where
T: Deserialize<'de>,
impl<'de, T> Deserialize<'de> for HashSetEvent<T>where
T: 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<T: PartialEq> PartialEq for HashSetEvent<T>
impl<T: PartialEq> PartialEq for HashSetEvent<T>
Source§impl<T> Serialize for HashSetEvent<T>where
T: Serialize,
impl<T> Serialize for HashSetEvent<T>where
T: Serialize,
impl<T: Eq> Eq for HashSetEvent<T>
impl<T> StructuralPartialEq for HashSetEvent<T>
Auto Trait Implementations§
impl<T> Freeze for HashSetEvent<T>where
T: Freeze,
impl<T> RefUnwindSafe for HashSetEvent<T>where
T: RefUnwindSafe,
impl<T> Send for HashSetEvent<T>where
T: Send,
impl<T> Sync for HashSetEvent<T>where
T: Sync,
impl<T> Unpin for HashSetEvent<T>where
T: Unpin,
impl<T> UnwindSafe for HashSetEvent<T>where
T: 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