Skip to main content

Crate nomoreide_daemon_client

Crate nomoreide_daemon_client 

Source
Expand description

Stateless discovery and protocol types for the machine-global NoMoreIDE daemon.

Modules§

protocol

Structs§

DaemonApiError
A refusal the daemon described, as opposed to a transport failure.
DaemonClient
DaemonEndpoint
DaemonHealth
DaemonState
DiscoveredDaemon
EnsuredDaemon
RuntimePaths
StatusCode
Re-exported because the error types above carry one. An HTTP status code (status-code in RFC 9110 et al.).

Enums§

DaemonClientError
DaemonDiscovery
DaemonProbe
DiscoveryStatus
EnsureStatus
What ensure had to do to get a daemon.
LifecycleError
ServiceAction
The three mutations a service or bundle accepts.
StopOutcome
Whether the daemon was told to stop, or was never up to be told.

Constants§

DEFAULT_DAEMON_PORT

Functions§

discover_daemon
ensure_daemon
Reuse a running daemon, adopt one on the configured port, or start one.
is_pid_alive
probe_daemon
read_daemon_credential
read_daemon_state
resolve_daemon_port
stop_daemon
Ask a running daemon to stop. A daemon that is not there needs no asking, and one holding the port that is not ours is not ours to stop.
version_warning