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§
- Handle
- Can transfer a unix file handle across processes.
- Handle
Ref - A raw reference to a handle.
- Structural
- Utility wrapper to force values through structural serialization.
Functions§
- deserialize
- Deserializes something for IPC communication.
- is_
ipc_ mode - Checks if serde is in IPC mode.
- serialize
- Serializes something for IPC communication.