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.
The kind of error that can be produced during a serialization or deserialization.
An error that can be produced during (de)serializing.