Expand description
Generated transport-neutral Rust types for the Heddle API.
Modules§
- framing
- heddle
- Heddle API protobuf packages.
- signing
- Contract-owned request-signing bytes and header vocabulary.
Structs§
- Invalid
Identifier Length - Errors returned while constructing fixed-width API identifiers.
- Method
Descriptor - Generated transport-neutral method contract.
- Request
Metadata Error - Malformed protobuf while extracting transport-level request metadata.
- Routed
Call - Transport-neutral information passed from an operation-stream decoder to a contract router before the request body is decoded.
Enums§
- Method
Route - Generated stable route identity for every declared contract method.
- Streaming
Shape - Message cardinality on each side of a contract method.
Constants§
- ALL_
METHODS - All declared contract methods, sorted by fully-qualified path.
- DEFAULT_
PAGE_ SIZE - Page size used when callers omit or pass zero for a requested size.
- HOSTED_
ALPN_ V1 - Production ALPN for the first transport-neutral hosted-call protocol.
- HOSTED_
CALL_ V1_ FIXTURE_ JSON - Cross-product hosted-call framing and typed-failure fixture.
- MAX_
PAGE_ SIZE - Largest page the public API permits.
- PROVIDER_
ALPN_ V1 - Production ALPN for an opaque-ticket provider extent transfer.
- TRANSPORT_
BOOTSTRAP_ V1_ FIXTURE_ JSON - Cross-product endpoint-descriptor and relay-admission signing fixture.
- UNARY_
SIGNING_ V1_ FIXTURE_ JSON - Cross-product canonical unary-signing fixture.
Functions§
- human_
verification_ challenge - Extract a human-verification challenge from an
ErrorDetail, if present. - human_
verification_ error_ detail - Build an
ErrorDetailcarrying a human-verification challenge (policy-denied with an actionable challenge), for theErrorDetail.human_verificationarm. - method_
descriptor - Looks up a declared method by its canonical fully-qualified path.
- normalize_
page_ size - Applies the contract-owned default and upper bound to a requested page.