Module capnp::traits

source ·

Structs§

Traits§

  • User-defined Cap’n Proto structs and interfaces are statically assigned a 64-bit type ID. This trait allows the ID to be retrieved.
  • A trait for types that can be “imbued” with capabilities. A newly-read message from the network might contain capability pointers but until the message has been imbued with the actual capabilities, those pointers will not be usable.
  • Like Imbue, but the capability table is mutable.
  • Trait for all types that can be converted to a low-level ListReader.
  • Trait for all types that can be converted to a low-level StructReader.
  • A trait to encode relationships between readers and builders.
  • A trait marking types that can be passed as inputs to setter methods. Receiver is intended to be an Owned, representing the destination type.