pub enum DataEvent {
StatsUpdated,
SessionCreated(SessionId),
SessionUpdated(SessionId),
ConfigChanged(ConfigScope),
AnalyticsUpdated,
LoadCompleted,
WatcherError(String),
LiveSessionStatusChanged,
}Expand description
Events emitted by the data layer
Variants§
StatsUpdated
Stats cache was updated
SessionCreated(SessionId)
A new session was created
SessionUpdated(SessionId)
An existing session was updated
ConfigChanged(ConfigScope)
Configuration changed
AnalyticsUpdated
Analytics data was computed and cached
LoadCompleted
Initial load completed
WatcherError(String)
Watcher encountered an error
LiveSessionStatusChanged
Hook-based live session status changed (live-sessions.json updated)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DataEvent
impl RefUnwindSafe for DataEvent
impl Send for DataEvent
impl Sync for DataEvent
impl Unpin for DataEvent
impl UnsafeUnpin for DataEvent
impl UnwindSafe for DataEvent
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