Skip to main content

Module types

Module types 

Source
Expand description

Type definitions for parsed Cap’n Proto schemas.

Structs§

EnumDef
FieldDef
ParsedSchema
ScopedClient
A scoped client detected from nested union patterns in the schema.
StructDef
UnionArm
A single arm of a tagged union (one member of a capnp union { ... }).
UnionVariant

Enums§

ArmPayload
Payload carried by a tagged-union arm.
FieldSection
Which section of a Cap’n Proto struct a field resides in.

Functions§

is_primitive_capnp_type
Check if a Cap’n Proto type name is a primitive (not a struct reference).