Expand description
Wire format serialization for Fidius plugin FFI boundary.
In debug builds (cfg(debug_assertions)), data is serialized as JSON for
human readability. In release builds, bincode is used for compact, fast
serialization. The WIRE_FORMAT constant encodes which format is active
so the host can reject mismatched plugins at load time.
Enums§
- Wire
Error - Errors that can occur during wire serialization or deserialization.
Constants§
- WIRE_
FORMAT - The wire format active in this build.
Functions§
- deserialize
- Deserialize a value from the active wire format.
- serialize
- Serialize a value using the active wire format.