Module transport

Module transport 

Source
Expand description

Cross-platform IPC transport layer

Abstracts Unix domain sockets (Unix/macOS) and named pipes (Windows) using the interprocess crate.

Modules§

platform

Enums§

Stream
Re-export Stream for use in other modules Tokio-based local socket byte stream, obtained either from Listener or by connecting to an existing local socket.

Functions§

connect
Connect to the daemon’s IPC socket
create_listener
Create a listener for incoming IPC connections
recv_message
Receive a length-prefixed message
send_message
Send a length-prefixed message
socket_exists
Check if the daemon socket exists