Crate ipc_channelsource ·
An implementation of the Rust channel API over process boundaries. Under the hood, this API uses Mach ports on Mac and file descriptor passing over Unix sockets on Linux. The serde library is used to serialize values for transport over the wire.
inprocess backend to be used instead of the OS specific backend.
inprocess backend is a dummy back-end, that behaves like the real ones,
but doesn’t actually work between processes.
Use memfd_create to back OsIpcSharedMemory on Linux. memfd_create was introduced in version 3.17. WARNING: Enabling this feature with kernel version less than 3.17 will cause panics on any use of IpcSharedMemory.
Routers allow converting IPC channels to crossbeam channels. The RouterProxy provides various methods to register
IpcReceiver<T>s. The router will then either call the appropriate callback or route the message to a crossbeam
Receiver<T>. You should use the global
ROUTERto access the
The kind of error that can be produced during a serialization or deserialization.
An error that can be produced during (de)serializing.