pub enum TypedNotifyEvent<T> {
Notify(ChangeType, T),
Error(CompactString),
}Variants§
Notify(ChangeType, T)
Error(CompactString)
Trait Implementations§
Source§impl<T: Clone> Clone for TypedNotifyEvent<T>
impl<T: Clone> Clone for TypedNotifyEvent<T>
Source§impl<T: Debug> Debug for TypedNotifyEvent<T>
impl<T: Debug> Debug for TypedNotifyEvent<T>
Source§impl<'de, T> Deserialize<'de> for TypedNotifyEvent<T>where
T: Deserialize<'de>,
impl<'de, T> Deserialize<'de> for TypedNotifyEvent<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 TypedNotifyEvent<T>
impl<T: PartialEq> PartialEq for TypedNotifyEvent<T>
Source§impl<T> Serialize for TypedNotifyEvent<T>where
T: Serialize,
impl<T> Serialize for TypedNotifyEvent<T>where
T: Serialize,
impl<T: PartialEq> StructuralPartialEq for TypedNotifyEvent<T>
Auto Trait Implementations§
impl<T> Freeze for TypedNotifyEvent<T>where
T: Freeze,
impl<T> RefUnwindSafe for TypedNotifyEvent<T>where
T: RefUnwindSafe,
impl<T> Send for TypedNotifyEvent<T>where
T: Send,
impl<T> Sync for TypedNotifyEvent<T>where
T: Sync,
impl<T> Unpin for TypedNotifyEvent<T>where
T: Unpin,
impl<T> UnsafeUnpin for TypedNotifyEvent<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for TypedNotifyEvent<T>where
T: UnwindSafe,
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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