Skip to main content

serve_at

Function serve_at 

Source
pub fn serve_at(
    socket: &Path,
    manifest: Manifest,
    read_only: bool,
) -> Result<(), ServerError>
Expand description

Serve on an explicit socket path. read_only daemons answer checks and pings (flagged in DaemonInfo) but refuse Shutdown over the wire — their lifecycle belongs to the OS session that spawned them (spec §8.4), so they run until killed.

§Errors

Io when the socket cannot be created/bound; Protocol when the runtime cannot be built.