diff options
Diffstat (limited to 'crates/daemon/src/events.rs')
| -rw-r--r-- | crates/daemon/src/events.rs | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/crates/daemon/src/events.rs b/crates/daemon/src/events.rs index 3b6fa5d8..654e56cb 100644 --- a/crates/daemon/src/events.rs +++ b/crates/daemon/src/events.rs @@ -7,15 +7,14 @@ //! External processes (like CLI commands) can also inject events via the //! Control gRPC service. -use turtle::history::History; +use turtle_api::history::History; /// Events that flow through the daemon's event bus. /// /// Events are broadcast to all components. Each component decides which /// events it cares about in its `handle_event` implementation. -#[derive(Debug, Clone)] +#[derive(Debug, Clone, PartialEq, Eq)] pub(crate) enum DaemonEvent { - // ---- History lifecycle ---- /// A command has started running. HistoryStarted(History), @@ -25,11 +24,9 @@ pub(crate) enum DaemonEvent { /// Sync completed successfully. SyncCompleted { /// Number of records uploaded. - #[expect(unused)] uploaded: usize, /// Number of records downloaded. - #[expect(unused)] downloaded: usize, }, @@ -42,7 +39,6 @@ pub(crate) enum DaemonEvent { /// Request an immediate sync (external trigger). ForceSync, - // ---- Lifecycle ---- /// Request graceful shutdown of the daemon. ShutdownRequested, } |
