pub trait HasTypeId {
const TYPE_ID: u64;
}
Expand description
User-defined Cap’n Proto structs and interfaces are statically assigned a 64-bit type ID. This trait allows the ID to be retrieved.
Required Associated Constants§
Object Safety§
This trait is not object safe.