pub enum ListEvent<T> {
InitialComplete,
Push(T),
Done,
}👎Deprecated: remoc-obs has been integrated into remoc as module remoc::robs. Please update your references.
Expand description
A list change event.
Variants§
InitialComplete
👎Deprecated: remoc-obs has been integrated into remoc as module remoc::robs. Please update your references.
The subscription has reached the value of the observed list at the time it was subscribed.
Push(T)
👎Deprecated: remoc-obs has been integrated into remoc as module remoc::robs. Please update your references.
An item was pushed at the end of the list.
Done
👎Deprecated: remoc-obs has been integrated into remoc as module remoc::robs. Please update your references.
The list has reached its final state and no further events will occur.
Trait Implementations§
Source§impl<'de, T> Deserialize<'de> for ListEvent<T>where
T: Deserialize<'de>,
impl<'de, T> Deserialize<'de> for ListEvent<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
impl<T: Eq> Eq for ListEvent<T>
impl<T> StructuralPartialEq for ListEvent<T>
Auto Trait Implementations§
impl<T> Freeze for ListEvent<T>where
T: Freeze,
impl<T> RefUnwindSafe for ListEvent<T>where
T: RefUnwindSafe,
impl<T> Send for ListEvent<T>where
T: Send,
impl<T> Sync for ListEvent<T>where
T: Sync,
impl<T> Unpin for ListEvent<T>where
T: Unpin,
impl<T> UnwindSafe for ListEvent<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