Skip to main content

Module local_socket

Module local_socket 

Source
Expand description

Exclusive ownership of a private Unix listener and its filesystem paths.

Structs§

ExclusiveListener
A private Unix listener held under an advisory ownership lock.

Enums§

LocalSocketError

Functions§

owner_pid
The PID recorded by ExclusiveListener::bind, or None when the lock is missing or holds no number. Only meaningful while the socket answers; the caller establishes that first.