Expand description
Local-clip ingest path.
Captures clips detected on the local clipboard, encrypts them, pushes to
the relay, then write-throughs to the shared store using the relay-assigned
clip ID. Mirrors the cinch push flow so the desktop and CLI converge on a
single push pipeline.
When no encryption key is available, or when the relay push returns a
transient error, the clip is queued locally via
backlog_flusher::enqueue_local and returned as PushOutcome::Queued.
The flush_once task retries those rows on the next (re)connect.
Structs§
- Local
Pusher - Encrypt + push + local write-through for clips originating on this device.
Enums§
- Ingest
Error - Push
Outcome - Result of
LocalPusher::push_text/push_image_png. The string in both variants is the clip id known to the local store. Callers that need to surface offline state to the user can match onQueued.