Expand description
Machine-global loopback daemon ownership and state boundary.
Structs§
- Daemon
Options - Daemon
Ownership - Exclusive ownership of the machine-global runtime. The OS lock is released automatically on crash; state and credentials are removed on orderly drop.
Enums§
- Shutdown
Request - Why a shutdown was asked for.
Functions§
- run
- run_
embedded - Run an app-private daemon whose connection details never reach disk.
- run_
embedded_ with_ shutdown_ requests - Run an app-private daemon with a shutdown channel owned by its host.
- run_
with_ listener - Run the daemon on a listener the caller has already bound.
- serve_
until - serve_
with_ shutdown_ requests shutdown_requestsis handed in as both ends: the receiver drains the runtime, and the sender is whatPOST /api/daemon/shutdownpulls on, so a request and a signal reach the same drain rather than two separate exits.