Crate ipc_rs

Source
Expand description

This crate facilitates easy interprocess communication through the SysV IPC protocol and Serde. Beware that there is an arbitrary message size limit set at 8KB.

Through some PhantomData and Higher-Ranked Trait Bounds magic, MessageQueue is pretty smart when it comes to type (de)serialization. Intentionally, MessageQueues are limited to one data type, which is defined when you create a new queue.

Modules§

raw
Module containing raw definitions mapping to the underlying IPC protocol

Structs§

Message
This struct represents a message that is inserted into a message queue on every MessageQueue::send() call.
MessageQueue
The main message queue type. It holds basic information about a given message queue as well as type data about the content that passes through it.

Enums§

IpcError
An enum containing all possible IPC errors
Mode
A helper enum for describing a message queue access mode