Skip to main content

Crate gity_ipc

Crate gity_ipc 

Source

Structs§

Ack
Lightweight acknowledgement wrapper used by multiple commands.
DaemonHealth
Snapshot of daemon-level health information.
DaemonMetrics
Snapshot of daemon metrics such as job counters and resource usage.
FsMonitorSnapshot
Snapshot of paths that changed since the previous fsmonitor token.
GlobalMetrics
Aggregate daemon-level statistics.
JobEventNotification
Lifecycle event for a background job.
JobMetrics
Counters describing how jobs progressed through the scheduler.
LogEntry
Structured log entry emitted by the daemon.
RepoGeneration
Generation token for a registered repository.
RepoHealthDetail
Detailed health diagnostics for a specific repository.
RepoMetrics
Lightweight view into per-repository queue depth.
RepoStatusDetail
Details about a repository used by gity status.
RepoSummary
Metadata describing a repository within the daemon.
ValidatedPath
Validated repository path that has been sanitized and checked. This type ensures all paths used in IPC communication are safe.
WatchEventNotification
A filesystem event observed for a registered repository.

Enums§

DaemonCommand
All commands the CLI/tray can send to the daemon process.
DaemonError
Top-level error used when the CLI fails to talk to the daemon.
DaemonNotification
Streaming notifications emitted by the daemon.
DaemonResponse
Every response the daemon can emit. Real IPC will eventually serialize this across async-nng sockets.
JobEventKind
JobKind
Job types queued within the daemon scheduler.
MessageSizeError
Error returned when a message exceeds the allowed size limit.
PathValidationError
Errors that can occur during path validation.
RepoStatus
A coarse view of repository health. The daemon tightens this as the implementation matures.
WatchEventKind

Traits§

DaemonService
Client-facing trait. Implementations may talk to the daemon over IPC or shortcut calls in-process for tests.

Functions§

bounded_bincode
Returns bincode configuration matching bincode::serialize/deserialize behavior
validate_message_size
Validates that a byte slice does not exceed the maximum allowed size