tokio_unix_ipc

Module serde

Source
Expand description

This module provides extensions to serde for IPC.

This crate uses serde for serialization of data across the process boundary. Internally this uses bincode as transfer format. File handles can also be serialized by using Handle and HandleRef.

Because bincode has various limitations in the structures that can be serialized, the Structural wrapper is available which forces structural serialization (currently uses msgpack). This requires the serde-structural feature.

Structs§

  • Can transfer a unix file handle across processes.
  • A raw reference to a handle.
  • Utility wrapper to force values through structural serialization.

Functions§