Skip to main content

Module local_socket

Module local_socket 

Source
Expand description

Per-user local sockets. Endpoint permissions belong here, not in IPC framing.

Structs§

SocketLocation
Explicit filesystem socket path on Unix, or pipe basename on Windows.

Enums§

Listener
Tokio-based local socket server, listening for connections.
SocketError
Endpoint setup or connection failure.
Stream
Tokio-based local socket byte stream, obtained either from Listener or by connecting to an existing local socket.

Functions§

bind_user_only
Bind an endpoint accessible only to its owner.
connect
Connect to a per-user endpoint with a bounded connection attempt.
default_location
Select the current user’s endpoint without creating it.