Expand description
Rust value and type-shape codec for LinkNetwork.
The codec uses explicit ToLinks / FromLinks traits plus the
LinksObject helper trait for user structs. This is intentionally smaller
than a proc-macro crate and avoids adding a serde serializer contract before
the links representation has stabilized. User types opt in with ordinary
trait impls, while primitives, Option, Vec, BTreeMap, and
Rc<RefCell<T>> get reusable implementations.
Structs§
- Links
Decoder - Stateful Rust value decoder.
- Links
Encoder - Stateful Rust value encoder.
- Rust
Field Shape - One named field, variant, or trait item in a Rust type shape.
- Rust
Type Shape - Queryable Rust type declaration shape.
Enums§
- Links
Codec Error - Error returned while decoding Rust values from links.
- Rust
Type Kind - High-level Rust type declaration kind represented as links.
Traits§
- From
Links - Decodes a Rust value from links.
- Links
Object - Helper trait for user-defined object types that need identity preservation.
- ToLinks
- Encodes a Rust value into links.